aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-15 18:46:24 +0000
committerGravatar Sadie Powell2022-01-15 19:50:32 +0000
commit3cc263858e893a278dcf916b9188acda94f5b225 (patch)
treea97c09cdea2523fa0a30c0588e6d3fe2a8e357ee /src/modules
parentAdd the ATTR_NOT_NULL define for marking arguments that can't be null. (diff)
parentImprove CI scripts. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/commands.h2
-rw-r--r--src/modules/m_spanningtree/save.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/commands.h b/src/modules/m_spanningtree/commands.h
index 45be032f1..c4d7b9941 100644
--- a/src/modules/m_spanningtree/commands.h
+++ b/src/modules/m_spanningtree/commands.h
@@ -365,7 +365,7 @@ class DllExport CommandSave final
public:
/** Timestamp of the uuid nick of all users who collided and got their nick changed to uuid
*/
- static const time_t SavedTimestamp = 100;
+ static const time_t SavedTimestamp;
CommandSave(Module* Creator) : ServerCommand(Creator, "SAVE", 2) { }
CmdResult Handle(User* user, Params& parameters) override;
diff --git a/src/modules/m_spanningtree/save.cpp b/src/modules/m_spanningtree/save.cpp
index 66c9797cd..1ca63bd5c 100644
--- a/src/modules/m_spanningtree/save.cpp
+++ b/src/modules/m_spanningtree/save.cpp
@@ -27,6 +27,8 @@
#include "treesocket.h"
#include "commands.h"
+const time_t CommandSave::SavedTimestamp = 100;
+
/**
* SAVE command - force nick change to UID on timestamp match
*/