summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2011-06-23 21:14:19 -0400
committerDaniel De Graaf <danieldg@inspircd.org>2011-06-23 21:14:19 -0400
commitb56d31223d7f45ebcec659fb442786d21734ff8a (patch)
tree3718c0bbb991f5c4a2d884fcf15309bcfa973c56
parenta409e402670372588380448f07404894b9154712 (diff)
Always use local SID as the source for PONG replies
-rw-r--r--src/modules/m_spanningtree/ping.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/ping.cpp b/src/modules/m_spanningtree/ping.cpp
index fb74dd4d0..00ba6c7c8 100644
--- a/src/modules/m_spanningtree/ping.cpp
+++ b/src/modules/m_spanningtree/ping.cpp
@@ -41,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
{