summaryrefslogtreecommitdiff
path: root/src/modules/m_alias.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_alias.cpp')
-rw-r--r--src/modules/m_alias.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index 9ddd3a3cc..28190cec9 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -12,6 +12,7 @@
*/
#include "inspircd.h"
+#include "wildcard.h"
/* $ModDesc: Provides aliases of commands. */
@@ -156,7 +157,7 @@ class ModuleAlias : public Module
/* Does it match the pattern? */
if (!Aliases[i].format.empty())
{
- if (InspIRCd::Match(Aliases[i].case_sensitive, compare, Aliases[i].format))
+ if (!match(Aliases[i].case_sensitive, compare, Aliases[i].format))
continue;
}