]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_blockamsg.cpp
OnRehash changes: split to multiple hooks to clarify use and prevent explosion of...
[user/henk/code/inspircd.git] / src / modules / m_blockamsg.cpp
index 1707412cf5231155ba8cb4964d11a9ca02578b58..89728bdb9fe3b9fdc1b825bc1a7b57bc4e66a52c 100644 (file)
@@ -46,7 +46,7 @@ class ModuleBlockAmsg : public Module
  public:
        ModuleBlockAmsg(InspIRCd* Me) : Module(Me)
        {
-               this->OnRehash(NULL,"");
+               this->OnRehash(NULL);
                Implementation eventlist[] = { I_OnRehash, I_OnPreCommand, I_OnCleanup };
                ServerInstance->Modules->Attach(eventlist, this, 3);
        }
@@ -61,7 +61,7 @@ class ModuleBlockAmsg : public Module
                return Version("$Id$",VF_VENDOR,API_VERSION);
        }
 
-       virtual void OnRehash(User* user, const std::string &parameter)
+       virtual void OnRehash(User* user)
        {
                ConfigReader Conf(ServerInstance);