diff options
Diffstat (limited to 'modules/core/ns_getemail.cpp')
-rw-r--r-- | modules/core/ns_getemail.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/core/ns_getemail.cpp b/modules/core/ns_getemail.cpp index eeb3c705d..3cf795772 100644 --- a/modules/core/ns_getemail.cpp +++ b/modules/core/ns_getemail.cpp @@ -70,13 +70,14 @@ class CommandNSGetEMail : public Command class NSGetEMail : public Module { + CommandNSGetEMail commandnsgetemail; public: NSGetEMail(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(NickServ, new CommandNSGetEMail()); + this->AddCommand(NickServ, &commandnsgetemail); } }; |