summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorRobin Burchell <robin+git@viroteck.net>2012-11-29 10:06:22 +0100
committerRobin Burchell <robin+git@viroteck.net>2012-11-29 10:07:07 +0100
commitaebe6cfd64aed575f376178375959d9576a7c8be (patch)
tree2a8d3b4525331dc4df320bec56d3352f540636f9 /src/modules
parent50ea2230637ddc31673cb19d41e6a6dde12487db (diff)
ldapauth: register both extensions
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_ldapauth.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/extra/m_ldapauth.cpp b/src/modules/extra/m_ldapauth.cpp
index c5de59743..612fb79f6 100644
--- a/src/modules/extra/m_ldapauth.cpp
+++ b/src/modules/extra/m_ldapauth.cpp
@@ -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);