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_channames.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/m_channames.cpp') diff --git a/src/modules/m_channames.cpp b/src/modules/m_channames.cpp index b3a882c20..0da3aa579 100644 --- a/src/modules/m_channames.cpp +++ b/src/modules/m_channames.cpp @@ -56,7 +56,7 @@ class ModuleChannelNames : public Module { } - void init() CXX11_OVERRIDE + void init() override { ServerInstance->IsChannel = NewIsChannelHandler::Call; } @@ -98,7 +98,7 @@ class ModuleChannelNames : public Module badchan = false; } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) override { ConfigTag* tag = ServerInstance->Config->ConfValue("channames"); std::string denyToken = tag->getString("denyrange"); @@ -128,7 +128,7 @@ class ModuleChannelNames : public Module ValidateChans(); } - void OnUserKick(User* source, Membership* memb, const std::string &reason, CUList& except_list) CXX11_OVERRIDE + void OnUserKick(User* source, Membership* memb, const std::string &reason, CUList& except_list) override { if (badchan) { @@ -139,14 +139,14 @@ class ModuleChannelNames : public Module } } - CullResult cull() CXX11_OVERRIDE + CullResult cull() override { ServerInstance->IsChannel = rememberer; ValidateChans(); return Module::cull(); } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Implements config tags which allow changing characters allowed in channel names", VF_VENDOR); } -- cgit v1.3.1-10-gc9f91