From b56d31223d7f45ebcec659fb442786d21734ff8a Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Thu, 23 Jun 2011 21:14:19 -0400 Subject: Always use local SID as the source for PONG replies --- src/modules/m_spanningtree/ping.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 ¶ms) // 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 { -- cgit v1.2.3