summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/nickcollide.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-03 12:27:24 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-03 12:27:24 +0200
commit393cc8f9d65aefd92628115edae341562ea440e7 (patch)
tree65265c2c1e162cf228c0ea55ce5081c27bf1645f /src/modules/m_spanningtree/nickcollide.cpp
parentbee8625fbe375f55053d3709b72a2972fbf6ba84 (diff)
Remove now needless User::ForceNickChange()
Change call sites to call ChangeNick()
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)