summaryrefslogtreecommitdiff
path: root/src/chanserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chanserv.c')
-rw-r--r--src/chanserv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chanserv.c b/src/chanserv.c
index 393a5831b..b8442051a 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -2202,11 +2202,11 @@ AutoKick *is_stuck(ChannelInfo * ci, const char *mask)
|| !(akick->flags & AK_STUCK))
continue;
/* Example: mask = *!*@*.org and akick->u.mask = *!*@*.anope.org */
- if (match_wild_nocase(mask, akick->u.mask))
+ if (Anope::Match(akick->u.mask, mask, false))
return akick;
if (ircd->reversekickcheck) {
/* Example: mask = *!*@irc.anope.org and akick->u.mask = *!*@*.anope.org */
- if (match_wild_nocase(akick->u.mask, mask))
+ if (Anope::Match(mask, akick->u.mask, false))
return akick;
}
}
@@ -2240,7 +2240,7 @@ void stick_mask(ChannelInfo * ci, AutoKick * akick)
if (ircd->reversekickcheck) {
/* If akick is wider than a ban already in place.
Example: c->bans[i] = *!*@irc.epona.org and akick->u.mask = *!*@*.epona.org */
- if (match_wild_nocase(akick->u.mask, ban->mask))
+ if (Anope::Match(ban->mask, akick->u.mask, false))
return;
}
}