summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-15 21:31:53 +0000
committerrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-15 21:31:53 +0000
commit98aa38d800a85e4cd295f435424524bbf2f0a3b1 (patch)
tree49c8d10dc9145cf3aaaaa72d2b7b2e87924c83e7 /src
parentf1c975c89f0f860a0c0a3ccbb39955ce7d2ae0fa (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/core/cs_kick.c5
1 files changed, 3 insertions, 2 deletions
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);
}