diff options
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | src/core/cs_kick.c | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -1,6 +1,7 @@ Anope Version 1.9.2 -------------------- - +A K alias to chanserv kick command +A KB alias to chanserv ban command Anope Version 1.9.1 -------------------- diff --git a/src/core/cs_kick.c b/src/core/cs_kick.c index eadab2853..5239d53cb 100644 --- a/src/core/cs_kick.c +++ b/src/core/cs_kick.c @@ -18,7 +18,7 @@ class CommandCSKick : public Command { public: - CommandCSKick() : Command("KICK", 2, 3) + CommandCSKick(const std::string& cname) : Command(cname, 2, 3) { } @@ -100,7 +100,8 @@ class CSKick : public Module this->SetAuthor("Anope"); this->SetVersion("$Id$"); this->SetType(CORE); - this->AddCommand(CHANSERV, new CommandCSKick()); + this->AddCommand(CHANSERV, new CommandCSKick("KICK")); + this->AddCommand(CHANSERV, new CommandCSKick("K")); ModuleManager::Attach(I_OnChanServHelp, this); } |