From 22e8e87a00404725f32f4a53f57809d917876914 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Mon, 16 Feb 2009 06:19:37 +0000 Subject: 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 --- src/core/os_session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/os_session.c') diff --git a/src/core/os_session.c b/src/core/os_session.c index a1c19113e..ac6910c36 100644 --- a/src/core/os_session.c +++ b/src/core/os_session.c @@ -382,7 +382,7 @@ class CommandOSException : public Command { for (i = 0; i < nexceptions; ++i) { - if (!mask || match_wild_nocase(mask, exceptions[i].mask)) + if (!mask || Anope::Match(mask, exceptions[i].mask, false)) exception_list(u, i, &sent_header); } } @@ -404,7 +404,7 @@ class CommandOSException : public Command { for (i = 0; i < nexceptions; ++i) { - if (!mask || match_wild_nocase(mask, exceptions[i].mask)) + if (!mask || Anope::Match(mask, exceptions[i].mask, false)) exception_view(u, i, &sent_header); } } -- cgit