summaryrefslogtreecommitdiff
path: root/src/process.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/process.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/process.c')
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 0590513e8..283f02903 100644
--- a/src/process.c
+++ b/src/process.c
@@ -135,7 +135,7 @@ IgnoreData *get_ignore(const char *nick)
} else
snprintf(tmp, sizeof(tmp), "%s!*@*", nick);
for (ign = ignore; ign; ign = ign->next)
- if (match_wild_nocase(ign->mask, tmp))
+ if (Anope::Match(ign->mask, tmp, false))
break;
}
/* Check whether the entry has timed out */