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_exemptchanops.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_exemptchanops.cpp') diff --git a/src/modules/m_exemptchanops.cpp b/src/modules/m_exemptchanops.cpp index a7f86cdb5..8f40ee8fb 100644 --- a/src/modules/m_exemptchanops.cpp +++ b/src/modules/m_exemptchanops.cpp @@ -31,7 +31,7 @@ class ExemptChanOps : public ListModeBase { } - bool ValidateParam(User* user, Channel* chan, std::string& word) CXX11_OVERRIDE + bool ValidateParam(User* user, Channel* chan, std::string& word) override { std::string::size_type p = word.find(':'); if (p == std::string::npos) @@ -76,7 +76,7 @@ class ExemptHandler : public CheckExemption::EventListener return mh ? mh->IsPrefixMode() : NULL; } - ModResult OnCheckExemption(User* user, Channel* chan, const std::string& restriction) CXX11_OVERRIDE + ModResult OnCheckExemption(User* user, Channel* chan, const std::string& restriction) override { unsigned int mypfx = chan->GetPrefixValue(user); std::string minmode; @@ -114,12 +114,12 @@ class ModuleExemptChanOps : public Module { } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Provides the ability to allow channel operators to be exempt from certain modes.",VF_VENDOR); } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) override { eh.ec.DoRehash(); } -- cgit v1.3.1-10-gc9f91