summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/save.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/save.cpp')
-rw-r--r--src/modules/m_spanningtree/save.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules/m_spanningtree/save.cpp b/src/modules/m_spanningtree/save.cpp
index dd9e866a9..75fdd478c 100644
--- a/src/modules/m_spanningtree/save.cpp
+++ b/src/modules/m_spanningtree/save.cpp
@@ -35,12 +35,7 @@ CmdResult CommandSave::Handle(User* user, std::vector<std::string>& params)
time_t ts = atol(params[1].c_str());
if (u->age == ts)
- {
- if (!u->ChangeNick(u->uuid))
- {
- ServerInstance->Users->QuitUser(u, "Nickname collision");
- }
- }
+ u->ChangeNick(u->uuid);
return CMD_SUCCESS;
}