diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-02-14 18:34:35 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-02-14 18:34:35 +0000 |
commit | 040cdb13e45ece886cf8392937ba61ef39c1f497 (patch) | |
tree | 3d7af54b46ade6db3976c5492c2c8c382faa2aa4 | |
parent | 6c52aebb50e013483d079f0ef75a01dffd866141 (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
-rw-r--r-- | make/template/main.mk | 2 | ||||
-rw-r--r-- | src/modules/extra/m_ldapauth.cpp | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/make/template/main.mk b/make/template/main.mk index 4193102bf..9852f8919 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -87,7 +87,7 @@ CXXFLAGS += -Iinclude @ENDIF @DO_EXPORT RUNCC CXXFLAGS CC LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS PURE_STATIC -@DO_EXPORT BASE CONPATH MODPATH BINPATH SOURCEPATH BUILDPATH INSTUID +@DO_EXPORT SOURCEPATH BUILDPATH # Default target TARGET = all 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); } |