summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-09-30 17:46:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-09-30 17:46:52 +0000
commit492efc5ce538976ec3e51b5dfc8a2fe068db806b (patch)
tree1fb347990158dd4fb01e7e823aafa43eb0795286
parenta27e9d92fa18e216cdea71934c20b11eac0737cd (diff)
Minor change, param for local PING wasnt an SID and should be
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8101 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 4b1509b75..fdd57c4ef 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -480,7 +480,7 @@ void ModuleSpanningTree::DoPingChecks(time_t curtime)
{
if (serv->AnsweredLastPing())
{
- sock->WriteLine(std::string(":")+ServerInstance->Config->GetSID()+" PING "+serv->GetName());
+ sock->WriteLine(std::string(":")+ServerInstance->Config->GetSID()+" PING "+serv->GetID());
serv->SetNextPingTime(curtime + Utils->PingFreq);
serv->LastPing = curtime;
timeval t;