summaryrefslogtreecommitdiff
path: root/modules/commands/os_shutdown.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-01-03 16:50:06 +0000
committerSadie Powell <sadie@witchery.services>2022-01-03 19:02:44 +0000
commita5f7aac2953e94e49b93e9195ae8d4dccba46f6d (patch)
tree442645fb3bb3da945b39fe2adeb07e71348b8771 /modules/commands/os_shutdown.cpp
parentd76d74719687bd2bce2af661208e77db365c1b2d (diff)
Replace anope_{final,override} with their C++11 equivalent.
Diffstat (limited to 'modules/commands/os_shutdown.cpp')
-rw-r--r--modules/commands/os_shutdown.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/commands/os_shutdown.cpp b/modules/commands/os_shutdown.cpp
index 57fc62a67..a6bb5252b 100644
--- a/modules/commands/os_shutdown.cpp
+++ b/modules/commands/os_shutdown.cpp
@@ -19,7 +19,7 @@ class CommandOSQuit : public Command
this->SetDesc(_("Terminate Services WITHOUT saving"));
}
- void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
+ void Execute(CommandSource &source, const std::vector<Anope::string> &params) override
{
Log(LOG_ADMIN, source, this);
Anope::QuitReason = source.command + " command received from " + source.GetNick();
@@ -27,7 +27,7 @@ class CommandOSQuit : public Command
return;
}
- bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
+ bool OnHelp(CommandSource &source, const Anope::string &subcommand) override
{
this->SendSyntax(source);
source.Reply(" ");
@@ -47,7 +47,7 @@ class CommandOSRestart : public Command
this->SetDesc(_("Save databases and restart Services"));
}
- void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
+ void Execute(CommandSource &source, const std::vector<Anope::string> &params) override
{
Log(LOG_ADMIN, source, this);
Anope::QuitReason = source.command + " command received from " + source.GetNick();
@@ -56,7 +56,7 @@ class CommandOSRestart : public Command
return;
}
- bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
+ bool OnHelp(CommandSource &source, const Anope::string &subcommand) override
{
this->SendSyntax(source);
source.Reply(_("Causes Services to save all databases and then restart\n"
@@ -73,7 +73,7 @@ class CommandOSShutdown : public Command
this->SetDesc(_("Terminate services with save"));
}
- void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
+ void Execute(CommandSource &source, const std::vector<Anope::string> &params) override
{
Log(LOG_ADMIN, source, this);
Anope::QuitReason = source.command + " command received from " + source.GetNick();
@@ -82,7 +82,7 @@ class CommandOSShutdown : public Command
return;
}
- bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
+ bool OnHelp(CommandSource &source, const Anope::string &subcommand) override
{
this->SendSyntax(source);
source.Reply(" ");