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_banexception.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_banexception.cpp')
| -rw-r--r-- | src/modules/m_banexception.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp index d9ceeaab1..5d55ad78d 100644 --- a/src/modules/m_banexception.cpp +++ b/src/modules/m_banexception.cpp @@ -54,12 +54,12 @@ class ModuleBanException : public Module { } - void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE + void On005Numeric(std::map<std::string, std::string>& tokens) override { tokens["EXCEPTS"] = ConvToStr(be.GetModeChar()); } - ModResult OnExtBanCheck(User *user, Channel *chan, char type) CXX11_OVERRIDE + ModResult OnExtBanCheck(User *user, Channel *chan, char type) override { ListModeBase::ModeList* list = be.GetList(chan); if (!list) @@ -80,7 +80,7 @@ class ModuleBanException : public Module return MOD_RES_PASSTHRU; } - ModResult OnCheckChannelBan(User* user, Channel* chan) CXX11_OVERRIDE + ModResult OnCheckChannelBan(User* user, Channel* chan) override { ListModeBase::ModeList* list = be.GetList(chan); if (!list) @@ -100,12 +100,12 @@ class ModuleBanException : public Module return MOD_RES_PASSTHRU; } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) override { be.DoRehash(); } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Provides support for the +e channel mode", VF_VENDOR); } |
