]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/nickcollide.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 / nickcollide.cpp
index a46e103e468ad4d9ce1b32d110907cf842570cac..3401041aa3a43ac3d17c946759bece1950644df3 100644 (file)
@@ -24,6 +24,7 @@
 #include "treeserver.h"
 #include "utils.h"
 #include "commandbuilder.h"
+#include "commands.h"
 
 /*
  * Yes, this function looks a little ugly.
@@ -107,7 +108,7 @@ bool SpanningTreeUtilities::DoCollision(User* u, TreeServer* server, time_t remo
                params.push_back(ConvToStr(u->age));
                params.Broadcast();
 
-               u->ChangeNick(u->uuid);
+               u->ChangeNick(u->uuid, CommandSave::SavedTimestamp);
        }
        if (bChangeRemote)
        {