summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/protocolinterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/protocolinterface.cpp b/src/modules/m_spanningtree/protocolinterface.cpp
index 66a18a5dd..284f30fed 100644
--- a/src/modules/m_spanningtree/protocolinterface.cpp
+++ b/src/modules/m_spanningtree/protocolinterface.cpp
@@ -13,7 +13,7 @@ void SpanningTreeProtocolInterface::GetServerList(ProtoServerList &sl)
ProtoServer ps;
ps.servername = i->second->GetName();
TreeServer* s = i->second->GetParent();
- ps.parentname = s ? s->GetName() : ServerInstance->Config->ServerName;
+ ps.parentname = s ? s->GetName() : "";
ps.usercount = i->second->GetUserCount();
ps.opercount = i->second->GetOperCount();
ps.gecos = i->second->GetDesc();