]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sqlauth.cpp
Add m_clearchan which removes users from a channel without sending n*(n+1)/2 QUIT...
[user/henk/code/inspircd.git] / src / modules / m_sqlauth.cpp
index ba969e54dad9853340a3a7f0e09693927c6c84eb..0c055a0851e605d7212bd912e14a5c36f14019bf 100644 (file)
@@ -81,13 +81,7 @@ class ModuleSQLAuth : public Module
        {
        }
 
-       void init() CXX11_OVERRIDE
-       {
-               ServerInstance->Modules->AddService(pendingExt);
-               OnRehash(NULL);
-       }
-
-       void OnRehash(User* user) CXX11_OVERRIDE
+       void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
        {
                ConfigTag* conf = ServerInstance->Config->ConfValue("sqlauth");
                std::string dbid = conf->getString("dbid");