aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_helpop.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_helpop.cpp
parentRemove the DEPRECATED_METHOD macro. (diff)
downloadinspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.tar.gz
inspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.tar.bz2
inspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.zip
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_helpop.cpp')
-rw-r--r--src/modules/m_helpop.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index f913140d6..f6e9fac7c 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -67,7 +67,7 @@ class CommandHelpop : public Command
syntax = "<any-text>";
}
- CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE
+ CmdResult Handle(User* user, const Params& parameters) override
{
const std::string& parameter = (!parameters.empty() ? parameters[0] : startkey);
@@ -120,7 +120,7 @@ class ModuleHelpop : public Module, public Whois::EventListener
{
}
- void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
+ void ReadConfig(ConfigStatus& status) override
{
HelpopMap help;
@@ -152,7 +152,7 @@ class ModuleHelpop : public Module, public Whois::EventListener
cmd.nohelp = tag->getString("nohelp", "There is no help for the topic you searched for. Please try again.", 1);
}
- void OnWhois(Whois::Context& whois) CXX11_OVERRIDE
+ void OnWhois(Whois::Context& whois) override
{
if (whois.GetTarget()->IsModeSet(ho))
{
@@ -160,7 +160,7 @@ class ModuleHelpop : public Module, public Whois::EventListener
}
}
- Version GetVersion() CXX11_OVERRIDE
+ Version GetVersion() override
{
return Version("Provides the /HELPOP command for useful information", VF_VENDOR);
}