summaryrefslogtreecommitdiff
path: root/src/modules/m_blockamsg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_blockamsg.cpp')
-rw-r--r--src/modules/m_blockamsg.cpp4
1 files changed, 2 insertions, 2 deletions
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 &parameter)
+ virtual void OnRehash(User* user)
{
ConfigReader Conf(ServerInstance);