summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes3
-rw-r--r--src/core/cs_kick.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/Changes b/Changes
index 81276d3bf..3bdd29536 100644
--- a/Changes
+++ b/Changes
@@ -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);
}