From e11b5b5acedaa0fdd73394e6277ca0ae39f8e4c7 Mon Sep 17 00:00:00 2001 From: rburchell Date: Wed, 18 Feb 2009 23:34:32 +0000 Subject: Patch from DP, converting all match calls and removing old match method. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2111 5417fbe8-f217-4b02-8779-1006273d7864 --- src/chanserv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/chanserv.c') 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; } } -- cgit