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/ns_register.cpp | |
| parent | 41e8d276023e8fefc22fb89c2f81ae17b8222155 (diff) | |
Use C++11's explicit override feature if available
Diffstat (limited to 'modules/commands/ns_register.cpp')
| -rw-r--r-- | modules/commands/ns_register.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/commands/ns_register.cpp b/modules/commands/ns_register.cpp index 341397c67..0ebc5dadc 100644 --- a/modules/commands/ns_register.cpp +++ b/modules/commands/ns_register.cpp @@ -25,7 +25,7 @@ class CommandNSConfirm : public Command this->SetSyntax(_("\037passcode\037")); } - 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; const Anope::string &passcode = params[0]; @@ -68,7 +68,7 @@ class CommandNSConfirm : public Command return; } - bool OnHelp(CommandSource &source, const Anope::string &subcommand) + bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override { User *u = source.u; this->SendSyntax(source); @@ -87,7 +87,7 @@ class CommandNSConfirm : public Command return true; } - void OnSyntaxError(CommandSource &source, const Anope::string &subcommand) + void OnSyntaxError(CommandSource &source, const Anope::string &subcommand) anope_override { source.Reply(NICK_CONFIRM_INVALID); } @@ -106,7 +106,7 @@ class CommandNSRegister : public Command this->SetSyntax(_("\037password\037 \037[email]\037")); } - 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; NickAlias *na; @@ -212,7 +212,7 @@ class CommandNSRegister : 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("\n"); @@ -259,7 +259,7 @@ class CommandNSResend : 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 { if (!Config->NSEmailReg) return; @@ -288,7 +288,7 @@ class CommandNSResend : public Command return; } - bool OnHelp(CommandSource &source, const Anope::string &subcommand) + bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override { if (!Config->NSEmailReg) return false; @@ -300,7 +300,7 @@ class CommandNSResend : public Command return true; } - void OnServHelp(CommandSource &source) + void OnServHelp(CommandSource &source) anope_override { if (Config->NSEmailReg) Command::OnServHelp(source); |
