]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_ldapauth.cpp
Attach to events and register services in init()
[user/henk/code/inspircd.git] / src / modules / extra / m_ldapauth.cpp
index c5de5974334494e26fafdfbf6e9e1c1f28577ddb..612fb79f6d84a7e92eec7b32f0d7872975ad55f5 100644 (file)
@@ -121,6 +121,8 @@ public:
 
        void init()
        {
+               ServerInstance->Modules->AddService(ldapAuthed);
+               ServerInstance->Modules->AddService(ldapVhost);
                Implementation eventlist[] = { I_OnCheckReady, I_OnRehash,I_OnUserRegister, I_OnUserConnect };
                ServerInstance->Modules->Attach(eventlist, this, 4);
                OnRehash(NULL);