summaryrefslogtreecommitdiff
path: root/src/core/cs_access.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-16 06:19:37 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-16 06:19:37 +0000
commit22e8e87a00404725f32f4a53f57809d917876914 (patch)
tree0833c986ac7149a61227830d3472bb83fb94172e /src/core/cs_access.c
parent15a2e1d4e4ffae3b351cb45183e9a868af37ead1 (diff)
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.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2080 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_access.c')
-rw-r--r--src/core/cs_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_access.c b/src/core/cs_access.c
index ec58b75ea..0d3bc9ea0 100644
--- a/src/core/cs_access.c
+++ b/src/core/cs_access.c
@@ -335,7 +335,7 @@ class CommandCSAccess : public Command
} else {
for (i = 0; i < ci->accesscount; i++) {
if (nick && ci->access[i].nc
- && !match_wild_nocase(nick, ci->access[i].nc->display))
+ && !Anope::Match(nick, ci->access[i].nc->display, false))
continue;
access_list(u, i, ci, &sent_header);
}