summaryrefslogtreecommitdiff
path: root/modules/core/cs_kick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/cs_kick.cpp')
-rw-r--r--modules/core/cs_kick.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/core/cs_kick.cpp b/modules/core/cs_kick.cpp
index 66c7c84db..43f3dda80 100644
--- a/modules/core/cs_kick.cpp
+++ b/modules/core/cs_kick.cpp
@@ -16,7 +16,7 @@
class CommandCSKick : public Command
{
public:
- CommandCSKick(const Anope::string &cname) : Command(cname, 2, 3)
+ CommandCSKick() : Command("KICK", 2, 3)
{
}
@@ -82,16 +82,15 @@ class CommandCSKick : public Command
class CSKick : public Module
{
- CommandCSKick commandcskick, commandcsk;
+ CommandCSKick commandcskick;
public:
- CSKick(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator), commandcskick("KICK"), commandcsk("K")
+ CSKick(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");
this->SetType(CORE);
this->AddCommand(ChanServ, &commandcskick);
- this->AddCommand(ChanServ, &commandcsk);
}
};