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