summaryrefslogtreecommitdiff
path: root/src/nickserv.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/nickserv.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/nickserv.c')
-rw-r--r--src/nickserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nickserv.c b/src/nickserv.c
index 73bdc2cf2..99487a447 100644
--- a/src/nickserv.c
+++ b/src/nickserv.c
@@ -864,8 +864,8 @@ int is_on_access(User * u, NickCore * nc)
for (i = 0; i < nc->accesscount; i++)
{
- if (match_wild_nocase(nc->access[i], buf)
- || (ircd->vhost ? match_wild_nocase(nc->access[i], buf2) : 0))
+ if (Anope::Match(buf, nc->access[i], false)
+ || (ircd->vhost ? Anope::Match(buf2, nc->access[i], false) : 0))
{
delete [] buf;
if (ircd->vhost)