diff options
Diffstat (limited to 'src/modules/m_spanningtree/override_modules.cpp')
-rw-r--r-- | src/modules/m_spanningtree/override_modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/override_modules.cpp b/src/modules/m_spanningtree/override_modules.cpp index bfeb0a03c..19c15b372 100644 --- a/src/modules/m_spanningtree/override_modules.cpp +++ b/src/modules/m_spanningtree/override_modules.cpp @@ -37,7 +37,7 @@ int ModuleSpanningTree::HandleModules(const std::vector<std::string>& parameters { if (parameters.size() > 0) { - if (match(ServerInstance->Config->ServerName, parameters[0].c_str())) + if (match(ServerInstance->Config->ServerName, parameters[0])) return 0; std::deque<std::string> params; |