]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sqlauth.cpp
m_spanningtree Remove duplicate code for sending channel messages from RouteCommand()
[user/henk/code/inspircd.git] / src / modules / m_sqlauth.cpp
index 4e8b178b94e65ea67855e1d8ca451a33172a362f..ba969e54dad9853340a3a7f0e09693927c6c84eb 100644 (file)
@@ -21,8 +21,6 @@
 #include "modules/sql.h"
 #include "modules/hash.h"
 
-/* $ModDesc: Allow/Deny connections based upon an arbitrary SQL table */
-
 enum AuthState {
        AUTH_STATE_NONE = 0,
        AUTH_STATE_BUSY = 1,
@@ -87,8 +85,6 @@ class ModuleSQLAuth : public Module
        {
                ServerInstance->Modules->AddService(pendingExt);
                OnRehash(NULL);
-               Implementation eventlist[] = { I_OnCheckReady, I_OnRehash, I_OnUserRegister };
-               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
        }
 
        void OnRehash(User* user) CXX11_OVERRIDE