summaryrefslogtreecommitdiff
path: root/src/chanserv.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-18 23:34:32 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-18 23:34:32 +0000
commite11b5b5acedaa0fdd73394e6277ca0ae39f8e4c7 (patch)
tree380694631fb85b75f174db13f13a791b27076a4f /src/chanserv.c
parent12cc6334576c61933383783e94a7b12c818b080b (diff)
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
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;
}
}