From 010c774bc241f0c3a9c116988bfc3637cf64c5d7 Mon Sep 17 00:00:00 2001 From: rburchell Date: Mon, 16 Feb 2009 09:17:24 +0000 Subject: 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 --- 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 ac6910c36..a1c19113e 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 || Anope::Match(mask, exceptions[i].mask, false)) + if (!mask || match_wild_nocase(mask, exceptions[i].mask)) exception_list(u, i, &sent_header); } } @@ -404,7 +404,7 @@ class CommandOSException : public Command { for (i = 0; i < nexceptions; ++i) { - if (!mask || Anope::Match(mask, exceptions[i].mask, false)) + if (!mask || match_wild_nocase(mask, exceptions[i].mask)) exception_view(u, i, &sent_header); } } -- cgit