summaryrefslogtreecommitdiff
path: root/src/modules/m_sanick.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_sanick.cpp
parentbee8625fbe375f55053d3709b72a2972fbf6ba84 (diff)
Remove now needless User::ForceNickChange()
Change call sites to call ChangeNick()
Diffstat (limited to 'src/modules/m_sanick.cpp')
-rw-r--r--src/modules/m_sanick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sanick.cpp b/src/modules/m_sanick.cpp
index ca6be2211..ba265fddd 100644
--- a/src/modules/m_sanick.cpp
+++ b/src/modules/m_sanick.cpp
@@ -64,7 +64,7 @@ class CommandSanick : public Command
{
std::string oldnick = user->nick;
std::string newnick = target->nick;
- if (target->ChangeNick(parameters[1], true))
+ if (target->ChangeNick(parameters[1]))
{
ServerInstance->SNO->WriteGlobalSno('a', oldnick+" used SANICK to change "+newnick+" to "+parameters[1]);
}