aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_denychans.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_denychans.cpp
parentRemove the DEPRECATED_METHOD macro. (diff)
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_denychans.cpp')
-rw-r--r--src/modules/m_denychans.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_denychans.cpp b/src/modules/m_denychans.cpp
index cc4172529..df8c0e8a0 100644
--- a/src/modules/m_denychans.cpp
+++ b/src/modules/m_denychans.cpp
@@ -63,7 +63,7 @@ class ModuleDenyChannels : public Module
{
}
- void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
+ void ReadConfig(ConfigStatus& status) override
{
GoodChannels goodchans;
ConfigTagList tags = ServerInstance->Config->ConfTags("goodchan");
@@ -135,13 +135,13 @@ class ModuleDenyChannels : public Module
goodchannels.swap(goodchans);
}
- Version GetVersion() CXX11_OVERRIDE
+ Version GetVersion() override
{
return Version("Implements config tags which allow blocking of joins to channels", VF_VENDOR);
}
- ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven) CXX11_OVERRIDE
+ ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven) override
{
for (BadChannels::const_iterator j = badchannels.begin(); j != badchannels.end(); ++j)
{