diff options
Diffstat (limited to 'modules/commands/cs_invite.cpp')
-rw-r--r-- | modules/commands/cs_invite.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/commands/cs_invite.cpp b/modules/commands/cs_invite.cpp index d95c954a1..8d4f13192 100644 --- a/modules/commands/cs_invite.cpp +++ b/modules/commands/cs_invite.cpp @@ -1,6 +1,6 @@ /* ChanServ core functions * - * (C) 2003-2023 Anope Team + * (C) 2003-2024 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. @@ -13,14 +13,14 @@ class CommandCSInvite : public Command { - public: +public: CommandCSInvite(Module *creator) : Command(creator, "chanserv/invite", 1, 3) { this->SetDesc(_("Invites you or an optionally specified nick into a channel")); this->SetSyntax(_("\037channel\037 [\037nick\037]")); } - void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override + void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override { const Anope::string &chan = params[0]; @@ -84,7 +84,7 @@ class CommandCSInvite : public Command } } - bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override + bool OnHelp(CommandSource &source, const Anope::string &subcommand) override { this->SendSyntax(source); source.Reply(" "); @@ -101,7 +101,7 @@ class CSInvite : public Module { CommandCSInvite commandcsinvite; - public: +public: CSInvite(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR), commandcsinvite(this) { |