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:
Molgrum 2008-05-30 21:38:02 +00:00
parent 0e754dea0f
commit 69a32e88de

View file

@ -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)