summaryrefslogtreecommitdiff
path: root/src/coremods
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/coremods
parentbee8625fbe375f55053d3709b72a2972fbf6ba84 (diff)
Remove now needless User::ForceNickChange()
Change call sites to call ChangeNick()
Diffstat (limited to 'src/coremods')
-rw-r--r--src/coremods/core_user/cmd_nick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_user/cmd_nick.cpp b/src/coremods/core_user/cmd_nick.cpp
index a28c40451..1d14ca703 100644
--- a/src/coremods/core_user/cmd_nick.cpp
+++ b/src/coremods/core_user/cmd_nick.cpp
@@ -83,7 +83,7 @@ CmdResult CommandNick::HandleLocal(const std::vector<std::string>& parameters, L
}
}
- if (!user->ChangeNick(newnick, false))
+ if (!user->ChangeNick(newnick))
return CMD_FAILURE;
if (user->registered < REG_NICKUSER)