summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-07-26 07:33:45 -0400
committerAdam <Adam@anope.org>2013-07-26 07:33:45 -0400
commit1be212b865b3cab816cd3cb49b527add3cac6826 (patch)
treeedb478e2270ff0034d6fa0810fe95a2d0226666e
parent457d5da6925bf996ae3504e89b7f182b855cf017 (diff)
Use server ids when propagating squits
-rw-r--r--src/modules/m_spanningtree/treesocket1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp
index 6582ba060..cb2c93548 100644
--- a/src/modules/m_spanningtree/treesocket1.cpp
+++ b/src/modules/m_spanningtree/treesocket1.cpp
@@ -189,9 +189,9 @@ void TreeSocket::Squit(TreeServer* Current, const std::string &reason)
if (!Current->GetSocket() || Current->GetSocket()->Introduced())
{
parameterlist params;
- params.push_back(Current->GetName());
+ params.push_back(Current->GetID());
params.push_back(":"+reason);
- Utils->DoOneToAllButSender(Current->GetParent()->GetName(),"SQUIT",params,Current->GetName());
+ Utils->DoOneToAllButSender(Current->GetParent()->GetID(),"SQUIT",params,Current->GetID());
}
if (Current->GetParent() == Utils->TreeRoot)