aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_operlog.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_operlog.cpp
parentRemove the DEPRECATED_METHOD macro. (diff)
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_operlog.cpp')
-rw-r--r--src/modules/m_operlog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp
index b64e18870..76c5f5d06 100644
--- a/src/modules/m_operlog.cpp
+++ b/src/modules/m_operlog.cpp
@@ -26,22 +26,22 @@ class ModuleOperLog : public Module
bool tosnomask;
public:
- void init() CXX11_OVERRIDE
+ void init() override
{
ServerInstance->SNO->EnableSnomask('r', "OPERLOG");
}
- Version GetVersion() CXX11_OVERRIDE
+ Version GetVersion() override
{
return Version("A module which logs all oper commands to the ircd log at default loglevel.", VF_VENDOR);
}
- void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
+ void ReadConfig(ConfigStatus& status) override
{
tosnomask = ServerInstance->Config->ConfValue("operlog")->getBool("tosnomask", false);
}
- ModResult OnPreCommand(std::string& command, CommandBase::Params& parameters, LocalUser* user, bool validated) CXX11_OVERRIDE
+ ModResult OnPreCommand(std::string& command, CommandBase::Params& parameters, LocalUser* user, bool validated) override
{
/* If the command doesnt appear to be valid, we dont want to mess with it. */
if (!validated)
@@ -62,7 +62,7 @@ class ModuleOperLog : 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["OPERLOG"];
}