summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-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 91c97465..ab047b5f 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -1661,7 +1661,7 @@ qboolean G_admin_ban( gentity_t *ent, int skiparg )
{
ADMP( va( "^3!ban: ^7using your admin level's maximum ban length of %s\n",
g_adminMaxBan.string ) );
- seconds = G_admin_parse_time( secs );
+ seconds = G_admin_parse_time( g_adminMaxBan.string );
}
else if( G_admin_permission( ent, ADMF_CAN_PERM_BAN ) )
{