diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-18 23:34:32 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-18 23:34:32 +0000 |
commit | e11b5b5acedaa0fdd73394e6277ca0ae39f8e4c7 (patch) | |
tree | 380694631fb85b75f174db13f13a791b27076a4f /src/core/ns_access.c | |
parent | 12cc6334576c61933383783e94a7b12c818b080b (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/core/ns_access.c')
-rw-r--r-- | src/core/ns_access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ns_access.c b/src/core/ns_access.c index e8e43b298..329d5110a 100644 --- a/src/core/ns_access.c +++ b/src/core/ns_access.c @@ -49,7 +49,7 @@ class CommandNSAccess : public Command notice_lang(s_NickServ, u, NICK_ACCESS_LIST_X, params[1].c_str()); for (access = nc->access, i = 0; i < nc->accesscount; ++access, ++i) { - if (mask && !match_wild(mask, *access)) + if (mask && !Anope::Match(*access, mask, true)) continue; u->SendMessage(s_NickServ, " %s", *access); } @@ -143,7 +143,7 @@ class CommandNSAccess : public Command notice_lang(s_NickServ, u, NICK_ACCESS_LIST); for (access = nc->access, i = 0; i < nc->accesscount; ++access, ++i) { - if (mask && !match_wild(mask, *access)) + if (mask && !Anope::Match(*access, mask, true)) continue; u->SendMessage(s_NickServ, " %s", *access); } |