From cf0aa421802fb729f456cd881474c95993e7c59c Mon Sep 17 00:00:00 2001 From: Ed Kellett Date: Sun, 26 Jul 2020 18:17:18 +0100 Subject: [PATCH] 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. --- modules/m_dline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/m_dline.c b/modules/m_dline.c index 8917b9d2..a0d9da33 100644 --- a/modules/m_dline.c +++ b/modules/m_dline.c @@ -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) {