diff options
Diffstat (limited to 'src/modules/m_lockserv.cpp')
-rw-r--r-- | src/modules/m_lockserv.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_lockserv.cpp b/src/modules/m_lockserv.cpp index 3408e4621..cf25e9a92 100644 --- a/src/modules/m_lockserv.cpp +++ b/src/modules/m_lockserv.cpp @@ -88,6 +88,10 @@ private: public: ModuleLockserv() : lockcommand(this, locked), unlockcommand(this, locked) { + } + + void init() + { locked = false; ServerInstance->AddCommand(&lockcommand); ServerInstance->AddCommand(&unlockcommand); |