summaryrefslogtreecommitdiff
path: root/src/modules/m_silence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_silence.cpp')
-rw-r--r--src/modules/m_silence.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index f938d07d6..9b5f393e5 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -274,7 +274,7 @@ class ModuleSilence : public Module
ModuleSilence(InspIRCd* Me)
: Module(Me), maxsilence(32)
{
- OnRehash(NULL, "");
+ OnRehash(NULL);
cmdsilence = new CommandSilence(ServerInstance,maxsilence);
cmdsvssilence = new CommandSVSSilence(ServerInstance);
ServerInstance->AddCommand(cmdsilence);
@@ -284,7 +284,7 @@ class ModuleSilence : public Module
ServerInstance->Modules->Attach(eventlist, this, 7);
}
- virtual void OnRehash(User* user, const std::string &parameter)
+ virtual void OnRehash(User* user)
{
ConfigReader Conf(ServerInstance);
maxsilence = Conf.ReadInteger("silence", "maxentries", 0, true);