summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_admin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 300e551c..f98750ff 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -2315,7 +2315,11 @@ qboolean G_admin_showbans( gentity_t *ent )
if( start > 0 )
start--;
else if( start < 0 )
+ {
start = found + start;
+ if( start < 0 )
+ start = 0;
+ }
else
ipmatch = G_AddressParse( filter, &ipa, &neta );
}