From af09a50527ac55d5ebbff4eb53786aa35c626b01 Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Tue, 28 Apr 2009 15:49:20 +0000 Subject: [PATCH] Fixed 'unban all' to unban all, not just the first. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3186 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_ccmds.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engine/server/sv_ccmds.c b/engine/server/sv_ccmds.c index 2eb1d5890..fc702e2c3 100644 --- a/engine/server/sv_ccmds.c +++ b/engine/server/sv_ccmds.c @@ -940,7 +940,9 @@ void SV_Unban_f (void) if (svs.bannedips == nb) svs.bannedips = nbnext; Z_Free(nb); - break; + + if (!all) + break; } nb = nbnext;