diff options
author | /dev/humancontroller <devhc@example.com> | 2017-04-13 11:30:00 +0000 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-04-15 17:24:17 +0200 |
commit | c1eb4bccd27fddce7d60d1c51437d7ea91b9d222 (patch) | |
tree | e2cc89ab70be304b20bbc4590e6fd017a3d10021 /src/game | |
parent | cd49cf0aac55f7dcffd4f0a9448c5296961a915e (diff) |
don't deny connection with the "localhost" IPA
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_client.c | 2 |
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" ) ); |