aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-15 03:37:00 +0000
committerGravatar Sadie Powell2022-01-15 10:16:12 +0000
commitcb5083af6dcd75751b0ce7971c57cbf40700df75 (patch)
tree0394138341f26bdccde305da6b46032f544c956b /src/modules
parentFix accessing the /stats/general and /stats/users sub-routes. (diff)
Fix a spanningtree linker error on FreeBSD armv7.
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 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
*/