summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-28 20:58:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-28 20:58:07 +0000
commit686992ee622ee1dab47b69a034b279f32a944d57 (patch)
tree3ffc67b52dec175f8fe3ec36253f6eb10d79281c /src/modules/m_spanningtree.cpp
parentbdc89ca99f44de8ec8b3173fdf528a2e530fe6f9 (diff)
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
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 2 insertions, 0 deletions
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")