From cf18f3f7f85d3e510edcbd5dbdd197e513c5fac1 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 14 Mar 2009 14:31:33 +0000 Subject: Send remote BURST on new incoming server introduction git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11216 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket2.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/modules') 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); } -- cgit v1.2.3