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