diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-07-26 15:53:11 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-07-26 15:53:11 +0200 |
commit | df4afba6c23c939af1013582c94138832017af4e (patch) | |
tree | 32f312229d61b25fc2758692ca067c108bea13d2 | |
parent | 9028c48512367394af2f790b53658bc6a197f95e (diff) |
m_spanningtree Replace WriteLine() call with Unicast() in DoCollision()
-rw-r--r-- | src/modules/m_spanningtree/nickcollide.cpp | 3 |
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; |