X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_mlock.cpp;h=719701d02beee2018aeaeef16d01d51c84d77dd1;hb=8d172c077e41e08e3864615538c6b06f07f24d84;hp=3fb60a3d273ae029aa50209a7a6e2059999532d1;hpb=9c5629085ae4914f9db514ca6fbd94e8d58c6f31;p=user%2Fhenk%2Fcode%2Finspircd.git 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()