]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_lockserv.cpp
Some more to fix still, modules probably wont load correctly atm
[user/henk/code/inspircd.git] / src / modules / m_lockserv.cpp
index d2bfff6a54aead2eb88f7efd5c3e21dcf95edb7e..5b188f96ce40c01106cbb3a309d238f174f91355 100644 (file)
@@ -88,6 +88,8 @@ public:
 
                unlockcommand = new CommandUnlockserv(ServerInstance, locked);
                ServerInstance->AddCommand(unlockcommand);
+               Implementation eventlist[] = { I_OnUserRegister, I_OnRehash, I_OnCheckReady };
+               ServerInstance->Modules->Attach(eventlist, this, 3);
        }
 
        virtual ~ModuleLockserv()