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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/override_stats.cpp b/src/modules/m_spanningtree/override_stats.cpp
index b28c2d984..9b73837cb 100644
--- a/src/modules/m_spanningtree/override_stats.cpp
+++ b/src/modules/m_spanningtree/override_stats.cpp
@@ -38,9 +38,9 @@ ModResult ModuleSpanningTree::OnStats(Stats::Context& stats)
ipaddr.append(L->IPAddr);
const std::string hook = (L->Hook.empty() ? "plaintext" : L->Hook);
- stats.AddRow(213, stats.GetSymbol(), ipaddr, '*', L->Name.c_str(), L->Port, hook);
+ stats.AddRow(213, stats.GetSymbol(), ipaddr, '*', L->Name, L->Port, hook);
if (stats.GetSymbol() == 'c')
- stats.AddRow(244, 'H', '*', '*', L->Name.c_str());
+ stats.AddRow(244, 'H', '*', '*', L->Name);
}
return MOD_RES_DENY;
}