summaryrefslogtreecommitdiff
path: root/src/modules/m_deaf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_deaf.cpp')
-rw-r--r--src/modules/m_deaf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_deaf.cpp b/src/modules/m_deaf.cpp
index a291189fa..c72d26fe5 100644
--- a/src/modules/m_deaf.cpp
+++ b/src/modules/m_deaf.cpp
@@ -60,13 +60,13 @@ class ModuleDeaf : public Module
if (!ServerInstance->Modes->AddMode(m1))
throw ModuleException("Could not add new modes!");
- OnRehash(NULL, "");
+ OnRehash(NULL);
Implementation eventlist[] = { I_OnUserPreMessage, I_OnUserPreNotice, I_OnRehash, I_OnBuildExemptList };
ServerInstance->Modules->Attach(eventlist, this, 4);
}
- virtual void OnRehash(User* user, const std::string&)
+ virtual void OnRehash(User* user)
{
ConfigReader* conf = new ConfigReader(ServerInstance);
deaf_bypasschars = conf->ReadValue("deaf", "bypasschars", 0);