Stop RealIP-checks when realip_status has reached sv_getrealip.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2986 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
0e754dea0f
commit
69a32e88de
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ qboolean SV_CheckRealIP(client_t *client, qboolean force)
|
|||
char *serverip;
|
||||
char *msg;
|
||||
|
||||
if (sv_getrealip.value < client->realip_status || sv_getrealip.value > 3)
|
||||
if (sv_getrealip.value <= client->realip_status || sv_getrealip.value > 3)
|
||||
return true;
|
||||
|
||||
if (client->netchan.remote_address.type == NA_LOOPBACK)
|
||||
|
|
Loading…
Reference in a new issue