File diff r22845:8da7b47e9559 → r22846:1117d19238f0
src/network/network_server.cpp
Show inline comments
 
@@ -1115,7 +1115,7 @@ NetworkRecvStatus ServerNetworkGameSocke
 
	}
 

	
 
	if ((GetCommandFlags(cp.cmd) & CMD_SPECTATOR) == 0 && !Company::IsValidID(cp.company) && ci->client_id != CLIENT_ID_SERVER) {
 
		IConsolePrintF(CC_ERROR, "WARNING: spectator issueing command from client %d (IP: %s), kicking...", ci->client_id, this->GetClientIP());
 
		IConsolePrintF(CC_ERROR, "WARNING: spectator issuing command from client %d (IP: %s), kicking...", ci->client_id, this->GetClientIP());
 
		return this->SendError(NETWORK_ERROR_KICKED);
 
	}