summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-03 12:37:35 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:07 +0000
commitc3c3eb6c7d56ea3e53aca885486d3427f9c0f2e6 (patch)
treef41c12e6d6afb92ae0805a58821dfb9a2a993a2e /src/game
parent08686eaa14bf64949634c3521a3c875a81d9c289 (diff)
* Fix a small bug in g_adminMaxBan (thanks ben)
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 ) )
{