From ee5cd8493e34a1c049066ead25e9094b30cd49b5 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 18 Feb 2012 15:04:26 -0500 Subject: Use C++11's explicit override feature if available --- modules/commands/ns_getpass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/commands/ns_getpass.cpp') diff --git a/modules/commands/ns_getpass.cpp b/modules/commands/ns_getpass.cpp index 5e1015bb4..8ffc85520 100644 --- a/modules/commands/ns_getpass.cpp +++ b/modules/commands/ns_getpass.cpp @@ -22,7 +22,7 @@ class CommandNSGetPass : public Command this->SetSyntax(_("\037nickname\037")); } - void Execute(CommandSource &source, const std::vector ¶ms) + void Execute(CommandSource &source, const std::vector ¶ms) anope_override { User *u = source.u; const Anope::string &nick = params[0]; @@ -46,7 +46,7 @@ class CommandNSGetPass : 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(" "); -- cgit