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:
parent
89a4f03160
commit
0e754dea0f
1 changed files with 2 additions and 2 deletions
|
@ -141,8 +141,6 @@ qboolean SV_CheckRealIP(client_t *client, qboolean force)
|
||||||
|
|
||||||
if (realtime - client->connection_started > sv_realip_timeout.value)
|
if (realtime - client->connection_started > sv_realip_timeout.value)
|
||||||
{
|
{
|
||||||
if (!client->realip_status)
|
|
||||||
client->realip_status = -1;
|
|
||||||
ClientReliableWrite_Begin(client, svc_print, 256);
|
ClientReliableWrite_Begin(client, svc_print, 256);
|
||||||
ClientReliableWrite_Byte(client, PRINT_HIGH);
|
ClientReliableWrite_Byte(client, PRINT_HIGH);
|
||||||
if (client->realip_status > 0)
|
if (client->realip_status > 0)
|
||||||
|
@ -154,6 +152,8 @@ qboolean SV_CheckRealIP(client_t *client, qboolean force)
|
||||||
SV_DropClient(client);
|
SV_DropClient(client);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!client->realip_status)
|
||||||
|
client->realip_status = -1;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue