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
This commit is contained in:
Mark Olsen 2009-04-28 15:49:20 +00:00
parent 022e1dc76e
commit af09a50527
1 changed files with 3 additions and 1 deletions

View File

@ -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;