]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_sqlauth.cpp
Fix excessive snomask sending on fitler add/removal
[user/henk/code/inspircd.git] / src / modules / extra / m_sqlauth.cpp
index 8e9d33d5837e68c886927d130797587f153c4b4c..6dc01a5f854932ef6840cfd48e3d78f00c0995e0 100644 (file)
@@ -46,7 +46,7 @@ public:
                if (!SQLprovider)
                        throw ModuleException("Can't find an SQL provider module. Please load one before attempting to load m_sqlauth.");
 
-               OnRehash(NULL,"");
+               OnRehash(NULL);
                Implementation eventlist[] = { I_OnUserDisconnect, I_OnCheckReady, I_OnRequest, I_OnRehash, I_OnUserRegister };
                ServerInstance->Modules->Attach(eventlist, this, 5);
        }
@@ -58,7 +58,7 @@ public:
        }
 
 
-       virtual void OnRehash(User* user, const std::string &parameter)
+       virtual void OnRehash(User* user)
        {
                ConfigReader Conf(ServerInstance);