summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/save.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-26 16:19:18 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-26 16:19:18 +0200
commitac7e37c8542159fa0efa48b43c9ab346762f1638 (patch)
tree8df332e38b9f2b1eb79159d19388de1f74a20e86 /src/modules/m_spanningtree/save.cpp
parent70b835e89eff6fcc47403d7fd7b4782f993ecf21 (diff)
m_spanningtree Set the TS of the uuid nick to the same value on collision
Diffstat (limited to 'src/modules/m_spanningtree/save.cpp')
-rw-r--r--src/modules/m_spanningtree/save.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/save.cpp b/src/modules/m_spanningtree/save.cpp
index aac5795af..a382b8d66 100644
--- a/src/modules/m_spanningtree/save.cpp
+++ b/src/modules/m_spanningtree/save.cpp
@@ -35,7 +35,7 @@ CmdResult CommandSave::Handle(User* user, std::vector<std::string>& params)
time_t ts = atol(params[1].c_str());
if (u->age == ts)
- u->ChangeNick(u->uuid);
+ u->ChangeNick(u->uuid, SavedTimestamp);
return CMD_SUCCESS;
}