]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treesocket2.cpp
Fix for bug #792 reported by recyclebin, do not attempt to ping local servers which...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treesocket2.cpp
index 0c9d63a8c95197b06e5be14dea5ea01d599e7035..3e3fbd71e9e2e72b95c4a68f6c0dc7ba128ca999 100644 (file)
@@ -3,7 +3,7 @@
  *       +------------------------------------+
  *
  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
@@ -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);
                        }
@@ -315,7 +316,7 @@ bool TreeSocket::ProcessLine(std::string &line)
                         */
                        if (command == "UID")
                        {
-                               return this->ParseUID(prefix, params, sourceserv);
+                               return this->ParseUID(prefix, params);
                        }
                        else if (command == "FJOIN")
                        {
@@ -365,7 +366,7 @@ bool TreeSocket::ProcessLine(std::string &line)
                        }
                        else if (command == "OPERTYPE")
                        {
-                               return this->OperType(prefix, params, sourceserv);
+                               return this->OperType(prefix,params);
                        }
                        else if (command == "FMODE")
                        {