summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/nickcollide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/nickcollide.cpp')
-rw-r--r--src/modules/m_spanningtree/nickcollide.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/nickcollide.cpp b/src/modules/m_spanningtree/nickcollide.cpp
index 2e840c6b8..5a375ef68 100644
--- a/src/modules/m_spanningtree/nickcollide.cpp
+++ b/src/modules/m_spanningtree/nickcollide.cpp
@@ -118,8 +118,7 @@ int SpanningTreeUtilities::DoCollision(User* u, TreeServer* server, time_t remot
* Remote side needs to change. If this happens, we modify the UID or NICK and
* send back a SAVE to the source.
*/
- TreeSocket* sock = server->GetSocket();
- sock->WriteLine(CmdBuilder("SAVE").push(remoteuid).push_int(remotets));
+ CmdBuilder("SAVE").push(remoteuid).push_int(remotets).Unicast(server->ServerUser);
if (!bChangeLocal)
return 2;