aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_operjoin.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_operjoin.cpp
parentRemove the DEPRECATED_METHOD macro. (diff)
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_operjoin.cpp')
-rw-r--r--src/modules/m_operjoin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp
index dd80d99ba..1551e6d30 100644
--- a/src/modules/m_operjoin.cpp
+++ b/src/modules/m_operjoin.cpp
@@ -30,7 +30,7 @@ class ModuleOperjoin : public Module
bool override;
public:
- void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
+ void ReadConfig(ConfigStatus& status) override
{
ConfigTag* tag = ServerInstance->Config->ConfValue("operjoin");
@@ -42,12 +42,12 @@ class ModuleOperjoin : public Module
operChans.push_back(channame);
}
- Version GetVersion() CXX11_OVERRIDE
+ Version GetVersion() override
{
return Version("Forces opers to join the specified channel(s) on oper-up", VF_VENDOR);
}
- void OnPostOper(User* user, const std::string &opertype, const std::string &opername) CXX11_OVERRIDE
+ void OnPostOper(User* user, const std::string &opertype, const std::string &opername) override
{
LocalUser* localuser = IS_LOCAL(user);
if (!localuser)