diff options
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r-- | src/modules/m_nicklock.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp index acea9f4f4..924ab8d81 100644 --- a/src/modules/m_nicklock.cpp +++ b/src/modules/m_nicklock.cpp @@ -149,6 +149,10 @@ class ModuleNickLock : public Module ModuleNickLock() : locked("nick_locked", this), cmd1(this, locked), cmd2(this, locked) { + } + + void init() + { ServerInstance->AddCommand(&cmd1); ServerInstance->AddCommand(&cmd2); ServerInstance->Extensions.Register(&locked); |