summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket1.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-07-05 22:25:33 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-12 21:03:05 +0200
commit904daf7ddbab445ef0dcb44489c5e6b3944ecb22 (patch)
tree775e4481f9b5100d30f1acbf7163eae74e09f118 /src/modules/m_spanningtree/treesocket1.cpp
parent667c558c650e447050cdbcc4971c2877f82fe8cf (diff)
m_spanningtree Change both prefix and first parameter of SQUIT to be a SID
Diffstat (limited to 'src/modules/m_spanningtree/treesocket1.cpp')
-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 6a528ed8d..84664c340 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->GetName());
}
if (Current->GetParent() == Utils->TreeRoot)