]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/uid.cpp
m_spanningtree Set the TS of the uuid nick to the same value on collision
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / uid.cpp
index c7a98b2f46504dabe4c4e55cf921a6a9a040b030..958718202174fee6027f87da9675cb6cec029860 100644 (file)
@@ -65,7 +65,9 @@ CmdResult CommandUID::HandleServer(TreeServer* remoteserver, std::vector<std::st
                if (they_change)
                {
                        // The client being introduced needs to change nick to uuid, change the nick in the message before
-                       // processing/forwarding it.
+                       // processing/forwarding it. Also change the nick TS to CommandSave::SavedTimestamp.
+                       age_t = CommandSave::SavedTimestamp;
+                       params[1] = ConvToStr(CommandSave::SavedTimestamp);
                        params[2] = params[0];
                }
        }