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 cfc662aee..39e3c16b1 100644
--- a/src/modules/m_blockamsg.cpp
+++ b/src/modules/m_blockamsg.cpp
@@ -48,7 +48,7 @@ public:
ModuleBlockAmsg(InspIRCd* Me) : Module::Module(Me)
{
- this->OnRehash("");
+ this->OnRehash(NULL,"");
}
void Implements(char* List)
@@ -65,7 +65,7 @@ public:
return Version(1,1,0,0,VF_VENDOR,API_VERSION);
}
- virtual void OnRehash(const std::string &parameter)
+ virtual void OnRehash(userrec* user, const std::string &parameter)
{
ConfigReader* Conf = new ConfigReader(ServerInstance);