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/channels.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/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 06eacb612..d7e97d62f 100644 --- a/src/channels.c +++ b/src/channels.c @@ -2154,13 +2154,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) - && !Anope::Match(e->nick, nick, false)) + && !match_wild_nocase(e->nick, nick)) return 0; if ((e->type & ENTRYTYPE_USER_WILD) - && !Anope::Match(e->user, user, false)) + && !match_wild_nocase(e->user, user)) return 0; if ((e->type & ENTRYTYPE_HOST_WILD) - && !Anope::Match(e->host, host, false)) + && !match_wild_nocase(e->host, host)) return 0; return 1; |
