diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp index d0bdb4fd4..cd1fd0c1c 100644 --- a/src/network/network_server.cpp +++ b/src/network/network_server.cpp @@ -686,7 +686,7 @@ DEF_SERVER_RECEIVE_COMMAND(PACKET_CLIENT_JOIN) } break; default: // Join another company (companies 1-8 (index 0-7)) - if (!Company::IsValidID(playas) || !IsHumanCompany(playas)) { + if (!Company::IsValidHumanID(playas)) { SEND_COMMAND(PACKET_SERVER_ERROR)(cs, NETWORK_ERROR_COMPANY_MISMATCH); return; } |