From 33f80efab6317529a999aabeab8082972a2754a4 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 13 Jul 2008 17:54:16 +0000 Subject: Fix order of arguments, this means that ban exceptions for extbans actually work again git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10005 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_banexception.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_banexception.cpp') diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp index e22ada43d..6cd99c73e 100644 --- a/src/modules/m_banexception.cpp +++ b/src/modules/m_banexception.cpp @@ -104,7 +104,7 @@ public: continue; std::string maskptr = it->mask.substr(2); - if (match(maskptr, str)) + if (match(str, maskptr)) return 1; // matches } } -- cgit v1.2.3