diff options
Diffstat (limited to 'modules/core/ns_drop.cpp')
-rw-r--r-- | modules/core/ns_drop.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/ns_drop.cpp b/modules/core/ns_drop.cpp index e85b2cebb..d5758197a 100644 --- a/modules/core/ns_drop.cpp +++ b/modules/core/ns_drop.cpp @@ -114,13 +114,15 @@ class CommandNSDrop : public Command class NSDrop : public Module { + CommandNSDrop commandnsdrop; + public: NSDrop(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(NickServ, new CommandNSDrop()); + this->AddCommand(NickServ, &commandnsdrop); } }; |