From 5750ab5723389af0babfbb23f54343f4b10fbc1b Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 18 Jul 2008 17:50:17 +0000 Subject: Set parent to empty if there is no parent, pippijn, does this fix your duplicate links? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10034 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/protocolinterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.3