diff options
| author | 2014-07-26 16:19:18 +0200 | |
|---|---|---|
| committer | 2014-07-26 16:19:18 +0200 | |
| commit | ac7e37c8542159fa0efa48b43c9ab346762f1638 (patch) | |
| tree | 8df332e38b9f2b1eb79159d19388de1f74a20e86 /src/modules/m_spanningtree/uid.cpp | |
| parent | m_spanningtree Warn instead of sending SAVE if we change the nick of a non-lo... (diff) | |
m_spanningtree Set the TS of the uuid nick to the same value on collision
Diffstat (limited to 'src/modules/m_spanningtree/uid.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/uid.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/uid.cpp b/src/modules/m_spanningtree/uid.cpp index c7a98b2f4..958718202 100644 --- a/src/modules/m_spanningtree/uid.cpp +++ b/src/modules/m_spanningtree/uid.cpp @@ -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]; } } |
