diff options
Diffstat (limited to 'src')
-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 55b1ad7..7d896c4 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -1428,7 +1428,7 @@ char *ClientConnect( int clientNum, qboolean firstTime ) // check to see if they are on the banned IP list value = Info_ValueForKey( userinfo, "ip" ); i = 0; - while( *value && i < sizeof( ip ) - 2 ) + while( *value && i < sizeof( ip ) - 1 ) { if( *value != '.' && ( *value < '0' || *value > '9' ) ) break; |