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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index e0e4e6477..1eb78023e 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -157,7 +157,7 @@ class ModuleAlias : public Module
/* Does it match the pattern? */
if (!Aliases[i].format.empty())
{
- if (!match(Aliases[i].case_sensitive, compare.c_str(), Aliases[i].format.c_str()))
+ if (!match(Aliases[i].case_sensitive, compare, Aliases[i].format))
continue;
}