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_globops.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_globops.cpp') diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp index b98adce35..350320b4a 100644 --- a/src/modules/m_globops.cpp +++ b/src/modules/m_globops.cpp @@ -33,7 +33,7 @@ class CommandGlobops : public Command flags_needed = 'o'; syntax = ""; } - CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE + CmdResult Handle(User* user, const Params& parameters) override { ServerInstance->SNO->WriteGlobalSno('g', "From " + user->nick + ": " + parameters[0]); return CMD_SUCCESS; @@ -46,12 +46,12 @@ class ModuleGlobops : public Module public: ModuleGlobops() : cmd(this) {} - void init() CXX11_OVERRIDE + void init() override { ServerInstance->SNO->EnableSnomask('g',"GLOBOPS"); } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Provides support for GLOBOPS and snomask +g", VF_VENDOR); } -- cgit v1.3.1-10-gc9f91