k, next time I might test it.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2985 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2008-05-27 20:08:21 +00:00
parent 89a4f03160
commit 0e754dea0f

View file

@ -141,8 +141,6 @@ qboolean SV_CheckRealIP(client_t *client, qboolean force)
if (realtime - client->connection_started > sv_realip_timeout.value)
{
if (!client->realip_status)
client->realip_status = -1;
ClientReliableWrite_Begin(client, svc_print, 256);
ClientReliableWrite_Byte(client, PRINT_HIGH);
if (client->realip_status > 0)
@ -154,6 +152,8 @@ qboolean SV_CheckRealIP(client_t *client, qboolean force)
SV_DropClient(client);
return false;
}
if (!client->realip_status)
client->realip_status = -1;
return true;
}