summaryrefslogtreecommitdiff
path: root/src/modules/m_mlock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_mlock.cpp')
-rw-r--r--src/modules/m_mlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_mlock.cpp b/src/modules/m_mlock.cpp
index 3fb60a3d2..719701d02 100644
--- a/src/modules/m_mlock.cpp
+++ b/src/modules/m_mlock.cpp
@@ -32,7 +32,7 @@ public:
void init()
{
ServerInstance->Modules->Attach(I_OnPreMode, this);
- ServerInstance->Extensions.Register(&this->mlock);
+ ServerInstance->Modules->AddService(this->mlock);
}
Version GetVersion()