diff options
Diffstat (limited to 'src')
-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 ) ) |