diff options
| author | 2019-01-25 02:52:11 +0000 | |
|---|---|---|
| committer | 2019-01-25 02:52:11 +0000 | |
| commit | c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 (patch) | |
| tree | 4d7b4e6135e4b8340698419a83bc29edec18a5ea /src/modules/m_exemptchanops.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_exemptchanops.cpp')
| -rw-r--r-- | src/modules/m_exemptchanops.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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(); } |
