diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_admin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 4318e667..4ad32254 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -2303,7 +2303,7 @@ qboolean G_admin_showbans( gentity_t *ent ) ADMBP_begin(); for( i = 0, ban = g_admin_bans; i < start && ban; i++, ban = ban->next ); - for( count = 0; count < MAX_ADMIN_SHOWBANS && ban; ban = ban->next ) + for( count = 0; count < MAX_ADMIN_SHOWBANS && ban; i++, ban = ban->next ) { if( ban->expires != 0 && ban->expires <= t ) continue; @@ -2348,7 +2348,7 @@ qboolean G_admin_showbans( gentity_t *ent ) ADMBP( va( "%4i %*s^7 %-15s %-8s %*s^7 %-10s\n \\__ %s\n", - ( count + start ), + i, max_name + colorlen1, ban->name, ban->ip.str, |