mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
When trying to addip an IP address that has already been banned, and the code in fact detects that the address has already been banned, don't add a duplicate entry to the list of banned IP addresses.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4595 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a4f03df481
commit
b9e46e4fa6
1 changed files with 1 additions and 1 deletions
|
@ -948,7 +948,7 @@ void SV_FilterIP_f (void)
|
|||
if (NET_CompareAdr(&nb->adr, &banadr) && NET_CompareAdr(&nb->adrmask, &banmask))
|
||||
{
|
||||
Con_Printf("%s is already banned\n", Cmd_Argv(1));
|
||||
break;
|
||||
return;
|
||||
}
|
||||
nb = nb->next;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue