summaryrefslogtreecommitdiff
path: root/modules/core/cs_akick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/cs_akick.cpp')
-rw-r--r--modules/core/cs_akick.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/cs_akick.cpp b/modules/core/cs_akick.cpp
index 394669513..ee41c964b 100644
--- a/modules/core/cs_akick.cpp
+++ b/modules/core/cs_akick.cpp
@@ -571,13 +571,15 @@ class CommandCSAKick : public Command
class CSAKick : public Module
{
+ CommandCSAKick commandcsakick;
+
public:
CSAKick(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");
this->SetType(CORE);
- this->AddCommand(ChanServ, new CommandCSAKick());
+ this->AddCommand(ChanServ, &commandcsakick);
}
};