summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/override_stats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/override_stats.cpp')
-rw-r--r--src/modules/m_spanningtree/override_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/override_stats.cpp b/src/modules/m_spanningtree/override_stats.cpp
index 169454cc6..b22517b13 100644
--- a/src/modules/m_spanningtree/override_stats.cpp
+++ b/src/modules/m_spanningtree/override_stats.cpp
@@ -37,7 +37,7 @@ int ModuleSpanningTree::HandleStats(const std::vector<std::string>& parameters,
{
if (parameters.size() > 1)
{
- if (match(ServerInstance->Config->ServerName, parameters[1].c_str()))
+ if (match(ServerInstance->Config->ServerName, parameters[1]))
return 0;
/* Remote STATS, the server is within the 2nd parameter */