X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_blockamsg.cpp;h=89728bdb9fe3b9fdc1b825bc1a7b57bc4e66a52c;hb=0da6b3a13def40e8fd002b9fc60f955467f6372d;hp=1707412cf5231155ba8cb4964d11a9ca02578b58;hpb=5f309503fa985faa5b255246fc0415455c1c65ee;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp index 1707412cf..89728bdb9 100644 --- a/src/modules/m_blockamsg.cpp +++ b/src/modules/m_blockamsg.cpp @@ -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 ¶meter) + virtual void OnRehash(User* user) { ConfigReader Conf(ServerInstance);