aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_channelban.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-01-25 02:52:11 +0000
committerGravatar Sadie Powell2019-01-25 02:52:11 +0000
commitc78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 (patch)
tree4d7b4e6135e4b8340698419a83bc29edec18a5ea /src/modules/m_channelban.cpp
parentRemove the DEPRECATED_METHOD macro. (diff)
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_channelban.cpp')
-rw-r--r--src/modules/m_channelban.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_channelban.cpp b/src/modules/m_channelban.cpp
index ffb43eef1..61ca9cf1e 100644
--- a/src/modules/m_channelban.cpp
+++ b/src/modules/m_channelban.cpp
@@ -23,12 +23,12 @@
class ModuleBadChannelExtban : public Module
{
public:
- Version GetVersion() CXX11_OVERRIDE
+ Version GetVersion() override
{
return Version("Extban 'j' - channel status/join ban", VF_OPTCOMMON|VF_VENDOR);
}
- ModResult OnCheckBan(User *user, Channel *c, const std::string& mask) CXX11_OVERRIDE
+ ModResult OnCheckBan(User *user, Channel *c, const std::string& mask) override
{
if ((mask.length() > 2) && (mask[0] == 'j') && (mask[1] == ':'))
{
@@ -52,7 +52,7 @@ class ModuleBadChannelExtban : 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('j');
}