diff options
author | M. Kristall <mkpdev@gmail.com> | 2011-07-17 14:51:39 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:09 +0000 |
commit | 6e88c4903cce13a3e8399d5939811a6abadf4421 (patch) | |
tree | d211912c3903f1e3d8ac5ada758038f227bf99f3 | |
parent | d4afeac5a575c3c865ea8d592dd85d248a79185d (diff) |
* Reported ban # when banned players attempt to connect was off by one
-rw-r--r-- | src/game/g_admin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index faad787e..ef607fe0 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -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++ ) ; |