From c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 25 Jan 2019 02:52:11 +0000 Subject: Replace the override macro with the override keyword. --- src/modules/m_maphide.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_maphide.cpp') diff --git a/src/modules/m_maphide.cpp b/src/modules/m_maphide.cpp index aade5ea60..34b869c45 100644 --- a/src/modules/m_maphide.cpp +++ b/src/modules/m_maphide.cpp @@ -23,12 +23,12 @@ class ModuleMapHide : public Module { std::string url; public: - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) override { url = ServerInstance->Config->ConfValue("security")->getString("maphide"); } - ModResult OnPreCommand(std::string& command, CommandBase::Params& parameters, LocalUser* user, bool validated) CXX11_OVERRIDE + ModResult OnPreCommand(std::string& command, CommandBase::Params& parameters, LocalUser* user, bool validated) override { if (validated && !user->IsOper() && !url.empty() && (command == "MAP" || command == "LINKS")) { @@ -39,7 +39,7 @@ class ModuleMapHide : public Module return MOD_RES_PASSTHRU; } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Replaces the output of /MAP and /LINKS with an URL.", VF_VENDOR); } -- cgit v1.3.1-10-gc9f91