m_dline: make apply_undline permissive
Trying to find invalid bans won't do anything unless they already exist, in which case it's legitimate to try to remove them.
This commit is contained in:
parent
72464c6abd
commit
cf0aa42180
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ apply_undline(struct Client *source_p, const char *cidr)
|
|||
char buf[BUFSIZE];
|
||||
struct ConfItem *aconf;
|
||||
|
||||
int masktype = parse_netmask_strict(cidr, NULL, NULL);
|
||||
int masktype = parse_netmask(cidr, NULL, NULL);
|
||||
|
||||
if(masktype != HM_IPV4 && masktype != HM_IPV6)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue