diff options
Diffstat (limited to 'src/modules/m_maphide.cpp')
-rw-r--r-- | src/modules/m_maphide.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_maphide.cpp b/src/modules/m_maphide.cpp index 7c5f6b97b..7a1ee39e1 100644 --- a/src/modules/m_maphide.cpp +++ b/src/modules/m_maphide.cpp @@ -28,7 +28,7 @@ class ModuleMapHide : public Module url = ServerInstance->Config->ConfValue("security")->getString("maphide"); } - ModResult OnPreCommand(std::string& command, CommandBase::Params& parameters, LocalUser* user, bool validated, const std::string& original_line) CXX11_OVERRIDE + ModResult OnPreCommand(std::string& command, CommandBase::Params& parameters, LocalUser* user, bool validated) CXX11_OVERRIDE { if (validated && !user->IsOper() && !url.empty() && (command == "MAP" || command == "LINKS")) { |