diff options
author | Adam <Adam@anope.org> | 2012-02-18 15:04:26 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-02-18 15:04:26 -0500 |
commit | ee5cd8493e34a1c049066ead25e9094b30cd49b5 (patch) | |
tree | 846c6dcd9bb2c4d721c6290a9b9d6b6ed880acdb /modules/commands/os_shutdown.cpp | |
parent | 41e8d276023e8fefc22fb89c2f81ae17b8222155 (diff) |
Use C++11's explicit override feature if available
Diffstat (limited to 'modules/commands/os_shutdown.cpp')
-rw-r--r-- | modules/commands/os_shutdown.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/commands/os_shutdown.cpp b/modules/commands/os_shutdown.cpp index 597257955..b7ead98b3 100644 --- a/modules/commands/os_shutdown.cpp +++ b/modules/commands/os_shutdown.cpp @@ -22,7 +22,7 @@ class CommandOSQuit : public Command this->SetSyntax(""); } - void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) + void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override { User *u = source.u; quitmsg = "QUIT command received from " + u->nick; @@ -30,7 +30,7 @@ class CommandOSQuit : public Command return; } - bool OnHelp(CommandSource &source, const Anope::string &subcommand) + bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override { this->SendSyntax(source); source.Reply(" "); @@ -51,7 +51,7 @@ class CommandOSRestart : public Command this->SetSyntax(""); } - void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) + void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override { User *u = source.u; quitmsg = "RESTART command received from " + u->nick; @@ -60,7 +60,7 @@ class CommandOSRestart : public Command return; } - bool OnHelp(CommandSource &source, const Anope::string &subcommand) + bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override { this->SendSyntax(source); source.Reply(_("Causes Services to save all databases and then restart\n" @@ -78,7 +78,7 @@ class CommandOSShutdown : public Command this->SetSyntax(""); } - void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) + void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override { User *u = source.u; quitmsg = source.command + " command received from " + u->nick; @@ -87,7 +87,7 @@ class CommandOSShutdown : public Command return; } - bool OnHelp(CommandSource &source, const Anope::string &subcommand) + bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override { this->SendSyntax(source); source.Reply(" "); |