summaryrefslogtreecommitdiff
path: root/src/modules/m_maphide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_maphide.cpp')
-rw-r--r--src/modules/m_maphide.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_maphide.cpp b/src/modules/m_maphide.cpp
index 7f96f18dd..637efa765 100644
--- a/src/modules/m_maphide.cpp
+++ b/src/modules/m_maphide.cpp
@@ -25,10 +25,10 @@ class ModuleMapHide : public Module
// Create a new command
ServerInstance->Modules->Attach(I_OnPreCommand, this);
ServerInstance->Modules->Attach(I_OnRehash, this);
- OnRehash(NULL, "");
+ OnRehash(NULL);
}
- void OnRehash(User* user, const std::string &parameter)
+ void OnRehash(User* user)
{
ConfigReader MyConf(ServerInstance);
url = MyConf.ReadValue("security", "maphide", 0);