summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 7d896c4..c18af19 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1439,7 +1439,7 @@ char *ClientConnect( int clientNum, qboolean firstTime )
if( G_FilterPacket( value ) )
return "You are banned from this server.";
- if( strlen( ip ) < 7 )
+ if( strlen( ip ) < 7 && strcmp( Info_ValueForKey( userinfo, "ip" ), "localhost" ) )
{
G_AdminsPrintf( "Connect from client with invalid IP: '%s' NAME: '%s^7'\n",
ip, Info_ValueForKey( userinfo, "name" ) );