diff options
author | M. Kristall <mkpdev@gmail.com> | 2010-12-19 01:15:31 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:49 +0000 |
commit | 300a31a4bb102740f279987a888c2a25d3764a8f (patch) | |
tree | 40a19a6269145df79f572f4673468ecbc5c58d5a /src/game | |
parent | dfcd12a0865c677afbe69d8d9826dcf3f9ebf1af (diff) |
* adjustban 16 /16 would make ban #16 permanent
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_admin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 97854ff6..c71de228 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -1430,6 +1430,8 @@ static qboolean admin_create_ban( gentity_t *ent, int G_admin_parse_time( const char *time ) { int seconds = 0, num = 0; + if( !*time ) + return -1; while( *time ) { if( !isdigit( *time ) ) |