From 040cdb13e45ece886cf8392937ba61ef39c1f497 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sun, 14 Feb 2010 18:34:35 +0000 Subject: Remove unused exports; counting is not for programmers git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12457 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ldapauth.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/modules/extra/m_ldapauth.cpp') 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); } -- cgit v1.3.1-10-gc9f91