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/channels.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/channels.c')
-rw-r--r-- | src/channels.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/channels.c b/src/channels.c index abbb747b7..f28059250 100644 --- a/src/channels.c +++ b/src/channels.c @@ -2156,13 +2156,13 @@ int entry_match(Entry * e, const char *nick, const char *user, const char *host, && (!user || stricmp(e->host, host) != 0)) return 0; if ((e->type & ENTRYTYPE_NICK_WILD) - && !match_wild_nocase(e->nick, nick)) + && !Anope::Match(nick, e->nick, false)) return 0; if ((e->type & ENTRYTYPE_USER_WILD) - && !match_wild_nocase(e->user, user)) + && !Anope::Match(user, e->user, false)) return 0; if ((e->type & ENTRYTYPE_HOST_WILD) - && !match_wild_nocase(e->host, host)) + && !Anope::Match(host, e->host, false)) return 0; return 1; |