diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_admin.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index af9f6cb5..4200d3cb 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -1050,6 +1050,11 @@ void G_admin_namelog_update( gclient_t *client, qboolean disconnect ) Q_strncpyz( g_admin_namelog[ i ]->name[ j ], client->pers.netname, sizeof( g_admin_namelog[ i ]->name[ j ] ) ); g_admin_namelog[ i ]->slot = ( disconnect ) ? -1 : clientNum; + + // if this player is connecting, they are no longer banned + if( !disconnect ) + g_admin_namelog[ i ]->banned = qfalse; + return; } } |