aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_operlog.cpp
diff options
context:
space:
mode:
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"];
}