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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/nickcollide.cpp b/src/modules/m_spanningtree/nickcollide.cpp
index 30be98fb5..935ccd6bd 100644
--- a/src/modules/m_spanningtree/nickcollide.cpp
+++ b/src/modules/m_spanningtree/nickcollide.cpp
@@ -114,7 +114,7 @@ int SpanningTreeUtilities::DoCollision(User* u, TreeServer* server, time_t remot
params.push_back(ConvToStr(u->age));
params.Broadcast();
- u->ForceNickChange(u->uuid);
+ u->ChangeNick(u->uuid);
if (!bChangeRemote)
return 1;
@@ -133,7 +133,7 @@ int SpanningTreeUtilities::DoCollision(User* u, TreeServer* server, time_t remot
if (remote)
{
/* nick change collide. Force change their nick. */
- remote->ForceNickChange(remoteuid);
+ remote->ChangeNick(remoteuid);
}
if (!bChangeLocal)