Skip to content

Commit

Permalink
* Reported ban # when banned players attempt to connect was off by one
Browse files Browse the repository at this point in the history
  • Loading branch information
msk committed Jul 17, 2011
1 parent 1f52c6e commit 444eb3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/g_admin.c
Expand Up @@ -873,7 +873,7 @@ static void G_admin_ban_message(
if( areason && ent )
{
// we just want the ban number
int n = 0;
int n = 1;
g_admin_ban_t *b = g_admin_bans;
for( ; b && b != ban; b = b->next, n++ )
;
Expand Down

0 comments on commit 444eb3f

Please sign in to comment.