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_blockamsg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_blockamsg.cpp') diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp index c4af2fd7f..ff9e361f2 100644 --- a/src/modules/m_blockamsg.cpp +++ b/src/modules/m_blockamsg.cpp @@ -58,12 +58,12 @@ class ModuleBlockAmsg : public Module { } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Attempt to block /amsg, at least some of the irritating mIRC scripts.",VF_VENDOR); } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) override { ConfigTag* tag = ServerInstance->Config->ConfValue("blockamsg"); ForgetDelay = tag->getDuration("delay", 3); @@ -81,7 +81,7 @@ class ModuleBlockAmsg : public Module action = IBLOCK_KILLOPERS; } - 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 { // Don't do anything with unregistered users if (user->registered != REG_ALL) -- cgit v1.3.1-10-gc9f91