diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-16 09:17:24 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-16 09:17:24 +0000 |
commit | 010c774bc241f0c3a9c116988bfc3637cf64c5d7 (patch) | |
tree | 65a80fd39dadfa703a484799b338ea1518efbbbf /src/core/ns_access.c | |
parent | 22e8e87a00404725f32f4a53f57809d917876914 (diff) |
Revert "Patch from DukePyrolator to replace all calls to match_wild() and match_wild_nocase() to use Anope::Match() instead. Also changes line-endings on wildcard.cpp to Unix-style, as well as fixes a small compile warning in language.c."
This reverts commit fcab9857f55567f10eaecbd6b26ee96f0f549d65.
This isn't a simple sed operation, the order of arguments changed, so this would break everything using it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2081 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 f1a1749d1..e8e43b298 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 && !Anope::Match(mask, *access, true)) + if (mask && !match_wild(mask, *access)) 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 && !Anope::Match(mask, *access, true)) + if (mask && !match_wild(mask, *access)) continue; u->SendMessage(s_NickServ, " %s", *access); } |