summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r--src/game/g_admin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index dc41e700..f0206012 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -2339,7 +2339,7 @@ qboolean G_admin_showbans( gentity_t *ent, int skiparg )
}
else
{
- for( i = filter[ i ] == '-'; filter[ i ] && isdigit( filter[ i ] ); i++ );
+ for( i = filter[ 0 ] == '-'; filter[ i ] && isdigit( filter[ i ] ); i++ );
if( filter[ i ] )
G_SanitiseString( filter, name_match, sizeof( name_match ) );
else