summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);
}