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_classban.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_classban.cpp')
| -rw-r--r-- | src/modules/m_classban.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_classban.cpp b/src/modules/m_classban.cpp index 066834079..3e268d794 100644 --- a/src/modules/m_classban.cpp +++ b/src/modules/m_classban.cpp @@ -22,7 +22,7 @@ class ModuleClassBan : public Module { public: - ModResult OnCheckBan(User* user, Channel* c, const std::string& mask) CXX11_OVERRIDE + ModResult OnCheckBan(User* user, Channel* c, const std::string& mask) override { LocalUser* localUser = IS_LOCAL(user); if ((localUser) && (mask.length() > 2) && (mask[0] == 'n') && (mask[1] == ':')) @@ -33,12 +33,12 @@ class ModuleClassBan : public Module return MOD_RES_PASSTHRU; } - void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE + void On005Numeric(std::map<std::string, std::string>& tokens) override { tokens["EXTBAN"].push_back('n'); } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Class 'n' - Connection class ban", VF_VENDOR | VF_OPTCOMMON); } |
