diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-03-14 14:31:33 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-03-14 14:31:33 +0000 |
commit | cf18f3f7f85d3e510edcbd5dbdd197e513c5fac1 (patch) | |
tree | 34ad5c297e1fb346f7bc0239577225ca815acb0f /src/modules/m_spanningtree | |
parent | 944c34cad7eb6eecde9758587cfbb82005687a0b (diff) |
Send remote BURST on new incoming server introduction
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11216 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index 0c9d63a8c..06a6bc211 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -181,13 +181,14 @@ bool TreeSocket::ProcessLine(std::string &line) Node = new TreeServer(this->Utils, this->ServerInstance, InboundServerName, InboundDescription, InboundSID, Utils->TreeRoot, this, lnk ? lnk->Hidden : false); Utils->TreeRoot->AddChild(Node); - params.clear(); - params.push_back(InboundServerName); - params.push_back("*"); - params.push_back("1"); - params.push_back(InboundSID); - params.push_back(":"+InboundDescription); - Utils->DoOneToAllButSender(ServerInstance->Config->GetSID(),"SERVER",params,InboundServerName); + parameterlist sparams; + sparams.push_back(InboundServerName); + sparams.push_back("*"); + sparams.push_back("1"); + sparams.push_back(InboundSID); + sparams.push_back(":"+InboundDescription); + Utils->DoOneToAllButSender(ServerInstance->Config->GetSID(),"SERVER",sparams,InboundServerName); + Utils->DoOneToAllButSenderRaw(line, InboundServerName, prefix, command, params); Node->bursting = true; this->DoBurst(Node); } |