From cb5083af6dcd75751b0ce7971c57cbf40700df75 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 15 Jan 2022 03:37:00 +0000 Subject: Fix a spanningtree linker error on FreeBSD armv7. --- src/modules/m_spanningtree/commands.h | 2 +- src/modules/m_spanningtree/save.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree') 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 */ -- cgit v1.3.1-10-gc9f91