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/cs_entrymsg.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/commands/cs_entrymsg.cpp') diff --git a/modules/commands/cs_entrymsg.cpp b/modules/commands/cs_entrymsg.cpp index 758c3f96c..477f68cb2 100644 --- a/modules/commands/cs_entrymsg.cpp +++ b/modules/commands/cs_entrymsg.cpp @@ -29,12 +29,12 @@ struct EntryMsg : Serializable this->when = ct; } - Anope::string serialize_name() const + Anope::string serialize_name() const anope_override { return "EntryMsg"; } - serialized_data serialize() + serialized_data serialize() anope_override { serialized_data data; @@ -167,7 +167,7 @@ class CommandEntryMessage : public Command this->SetSyntax(_("\037channel\037 {ADD|DEL|LIST|CLEAR} [\037message\037|\037num\037]")); } - void Execute(CommandSource &source, const std::vector ¶ms) + void Execute(CommandSource &source, const std::vector ¶ms) anope_override { User *u = source.u; @@ -208,7 +208,7 @@ class CommandEntryMessage : 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(" "); @@ -233,7 +233,7 @@ class CSEntryMessage : public Module this->OnReload(); } - void OnJoinChannel(User *u, Channel *c) + void OnJoinChannel(User *u, Channel *c) anope_override { if (u && c && c->ci && u->server->IsSynced()) { @@ -245,7 +245,7 @@ class CSEntryMessage : public Module } } - void OnReload() + void OnReload() anope_override { ConfigReader config; MaxEntries = config.ReadInteger("cs_entrymsg", "maxentries", "5", 0, true); -- cgit