summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ldapauth.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-14 18:34:35 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-14 18:34:35 +0000
commit040cdb13e45ece886cf8392937ba61ef39c1f497 (patch)
tree3d7af54b46ade6db3976c5492c2c8c382faa2aa4 /src/modules/extra/m_ldapauth.cpp
parent6c52aebb50e013483d079f0ef75a01dffd866141 (diff)
Remove unused exports; counting is not for programmers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12457 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_ldapauth.cpp')
-rw-r--r--src/modules/extra/m_ldapauth.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/extra/m_ldapauth.cpp b/src/modules/extra/m_ldapauth.cpp
index 75ed94cee..0b3dbb174 100644
--- a/src/modules/extra/m_ldapauth.cpp
+++ b/src/modules/extra/m_ldapauth.cpp
@@ -50,8 +50,12 @@ public:
ModuleLDAPAuth() : ldapAuthed("ldapauth", this)
{
conn = NULL;
+ }
+
+ void init()
+ {
Implementation eventlist[] = { I_OnCheckReady, I_OnRehash, I_OnUserRegister };
- ServerInstance->Modules->Attach(eventlist, this, 4);
+ ServerInstance->Modules->Attach(eventlist, this, 3);
OnRehash(NULL);
}