summaryrefslogtreecommitdiff
path: root/modules/commands/cs_getkey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_getkey.cpp')
-rw-r--r--modules/commands/cs_getkey.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/commands/cs_getkey.cpp b/modules/commands/cs_getkey.cpp
index 678bf41d6..3c573d3ec 100644
--- a/modules/commands/cs_getkey.cpp
+++ b/modules/commands/cs_getkey.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 CommandCSGetKey : public Command
{
- public:
+public:
CommandCSGetKey(Module *creator) : Command(creator, "chanserv/getkey", 1, 1)
{
this->SetDesc(_("Returns the key of the given channel"));
this->SetSyntax(_("\037channel\037"));
}
- void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
+ void Execute(CommandSource &source, const std::vector<Anope::string> &params) override
{
const Anope::string &chan = params[0];
@@ -50,7 +50,7 @@ class CommandCSGetKey : public Command
source.Reply(_("Key for channel \002%s\002 is \002%s\002."), chan.c_str(), key.c_str());
}
- bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
+ bool OnHelp(CommandSource &source, const Anope::string &subcommand) override
{
this->SendSyntax(source);
source.Reply(" ");
@@ -63,7 +63,7 @@ class CSGetKey : public Module
{
CommandCSGetKey commandcsgetkey;
- public:
+public:
CSGetKey(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR), commandcsgetkey(this)
{