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_ajoin.cpp | |
parent | 41e8d276023e8fefc22fb89c2f81ae17b8222155 (diff) |
Use C++11's explicit override feature if available
Diffstat (limited to 'modules/commands/ns_ajoin.cpp')
-rw-r--r-- | modules/commands/ns_ajoin.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/commands/ns_ajoin.cpp b/modules/commands/ns_ajoin.cpp index 933fc19da..5a5dbe7f0 100644 --- a/modules/commands/ns_ajoin.cpp +++ b/modules/commands/ns_ajoin.cpp @@ -19,12 +19,12 @@ struct AJoinList : std::vector<std::pair<Anope::string, Anope::string> >, Extens AJoinList(NickCore *n) : nc(n) { } - Anope::string serialize_name() const + Anope::string serialize_name() const anope_override { return "AJoinList"; } - serialized_data serialize() + serialized_data serialize() anope_override { serialized_data sd; @@ -150,7 +150,7 @@ class CommandNSAJoin : public Command this->SetSyntax(_("{ADD | DEL | LIST} [\037channel\037] [\037key\037]")); } - void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) + void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override { if (params[0].equals_ci("LIST")) this->DoList(source, params); @@ -166,7 +166,7 @@ class CommandNSAJoin : 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(" "); @@ -191,7 +191,7 @@ class NSAJoin : public Module ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation)); } - void OnNickIdentify(User *u) + void OnNickIdentify(User *u) anope_override { AJoinList *channels = u->Account()->GetExt<AJoinList *>("ns_ajoin_channels"); |