--- a/network_server.c Thu Aug 30 19:21:12 2007 +0000
+++ b/network_server.c Thu Aug 30 19:42:09 2007 +0000
@@ -823,7 +823,7 @@
return false;
}
- if ((cp->cmd != CMD_PLAYER_CTRL && !IsValidPlayer(cp->player) && ci->client_index != NETWORK_SERVER_INDEX) {
+ if (cp->cmd != CMD_PLAYER_CTRL && !IsValidPlayer(cp->player) && ci->client_index != NETWORK_SERVER_INDEX) {
IConsolePrintF(_icolour_err, "WARNING: spectator issueing command from client %d (IP: %s), kicking...", ci->client_index, GetPlayerIP(ci));
return false;
}