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_sethost.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_sethost.cpp') diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index 87eed4022..86e7533d1 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -35,7 +35,7 @@ class CommandSethost : public Command flags_needed = 'o'; syntax = ""; } - CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE + CmdResult Handle(User* user, const Params& parameters) override { if (parameters[0].length() > ServerInstance->Config->Limits.MaxHost) { @@ -73,7 +73,7 @@ class ModuleSetHost : public Module { } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) override { std::string hmap = ServerInstance->Config->ConfValue("hostname")->getString("charmap", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.-_/0123456789"); @@ -82,7 +82,7 @@ class ModuleSetHost : public Module cmd.hostmap.set(static_cast(*n)); } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Provides support for the SETHOST command", VF_VENDOR); } -- cgit v1.3.1-10-gc9f91