aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree')
-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 a1a44daf5..9cb098373 100644
--- a/src/modules/m_spanningtree/commands.h
+++ b/src/modules/m_spanningtree/commands.h
@@ -329,7 +329,7 @@ class DllExport CommandSave : public ServerCommand
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) CXX11_OVERRIDE;
diff --git a/src/modules/m_spanningtree/save.cpp b/src/modules/m_spanningtree/save.cpp
index f9af52a9f..584e779f5 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
*/