From 686992ee622ee1dab47b69a034b279f32a944d57 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 28 Nov 2005 20:58:07 +0000 Subject: Changed to propogate SERVER properly when a new server connects git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1980 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 1c35ecad0..0e0c6f48a 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -579,6 +579,7 @@ class TreeSocket : public InspSocket // node. TreeServer* Node = new TreeServer(servername,description,TreeRoot,this); TreeRoot->AddChild(Node); + DoOneToAllButSender(servername,"SERVER",params,servername); this->DoBurst(Node); return true; } @@ -707,6 +708,7 @@ class TreeSocket : public InspSocket this->LinkState = CONNECTED; Node = new TreeServer(InboundServerName,InboundDescription,TreeRoot,this); TreeRoot->AddChild(Node); + DoOneToAllButSender(InboundServerName,"SERVER",params,InboundServerName); this->DoBurst(Node); } else if (command == "ERROR") -- cgit v1.2.3