From 98aa38d800a85e4cd295f435424524bbf2f0a3b1 Mon Sep 17 00:00:00 2001 From: robbeh Date: Tue, 15 Dec 2009 21:31:53 +0000 Subject: [PATCH] Added !K trigger to kick people and updated Changes git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2705 5417fbe8-f217-4b02-8779-1006273d7864 --- Changes | 3 ++- src/core/cs_kick.c | 5 +++-- 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); }