summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_admin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index c446764..70e31eb 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -5565,8 +5565,7 @@ qboolean G_admin_showbans( gentity_t *ent, int skiparg )
duration[0] = '\0';
secs = ( g_admin_bans[ i ]->expires - t );
- if( g_admin_bans[ i ]->expires == 0 // is it permanent?
- && secs < 1 )
+ if( g_admin_bans[ i ]->length == 0 ) // is it permanent?
{
Com_sprintf( length, sizeof( length ), "^1PERMANENT" );
}