summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/svsnick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/svsnick.cpp')
-rw-r--r--src/modules/m_spanningtree/svsnick.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/svsnick.cpp b/src/modules/m_spanningtree/svsnick.cpp
index 43fa0f296..de1331640 100644
--- a/src/modules/m_spanningtree/svsnick.cpp
+++ b/src/modules/m_spanningtree/svsnick.cpp
@@ -37,10 +37,10 @@ CmdResult CommandSVSNick::Handle(User* user, std::vector<std::string>& parameter
if (NickTS <= 0)
return CMD_FAILURE;
- if (!u->ForceNickChange(nick, NickTS))
+ if (!u->ChangeNick(nick, NickTS))
{
/* buh. UID them */
- if (!u->ForceNickChange(u->uuid))
+ if (!u->ChangeNick(u->uuid))
{
ServerInstance->Users->QuitUser(u, "Nickname collision");
}