From c1eb4bccd27fddce7d60d1c51437d7ea91b9d222 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Thu, 13 Apr 2017 11:30:00 +0000 Subject: don't deny connection with the "localhost" IPA --- src/game/g_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ) ); -- cgit