summaryrefslogtreecommitdiff
path: root/src/modules/m_nicklock.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-01-23 15:59:35 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-01-23 15:59:35 +0100
commitb705c6426818ba8cedfd00d1a84dab8ff0d0f1a0 (patch)
treee4f403e4ec56ed55c98e65dfb22a9f4c94531508 /src/modules/m_nicklock.cpp
parent9add848772555f527b625953cb45c46850ac1274 (diff)
parent365e2b45f871d80debb135b0f26766538d10809d (diff)
Merge branch 'master+no-rtti'
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r--src/modules/m_nicklock.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index 9bf16498a..8ac2e8b47 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -144,7 +144,9 @@ class ModuleNickLock : public Module
CommandNickunlock cmd2;
public:
ModuleNickLock()
- : locked("nick_locked", this), cmd1(this, locked), cmd2(this, locked)
+ : locked("nick_locked", ExtensionItem::EXT_USER, this)
+ , cmd1(this, locked)
+ , cmd2(this, locked)
{
}