]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/ping.cpp
Fix typo.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / ping.cpp
index c3467c984d6a854e714355b2439bbea56694c837..00ba6c7c8476f16e22e1e36f55eeb5ae9c4ba5c6 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -14,7 +14,6 @@
 #include "inspircd.h"
 #include "socket.h"
 #include "xline.h"
-#include "../transport.h"
 #include "socketengine.h"
 
 #include "main.h"
@@ -42,7 +41,7 @@ bool TreeSocket::LocalPing(const std::string &prefix, parameterlist &params)
                        // this is a ping for us, send back PONG to the requesting server
                        params[1] = params[0];
                        params[0] = forwardto;
-                       Utils->DoOneToOne(forwardto,"PONG",params,params[1]);
+                       Utils->DoOneToOne(ServerInstance->Config->GetSID(),"PONG",params,params[1]);
                }
                else
                {