From 9097f2b1d481145056ef737bd39155c0401db2b0 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 30 Aug 2007 19:42:09 +0000 Subject: [PATCH] (svn r11008) [0.5] -Fix (r11007): CTRL-S (save) and CTRL-Z (undo) shouldn't be pressed simultaniously before committing. --- network_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network_server.c b/network_server.c index f4e04db869..37b506e542 100644 --- a/network_server.c +++ b/network_server.c @@ -823,7 +823,7 @@ static bool CheckCommandFlags(const CommandPacket *cp, const NetworkClientInfo * 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; }