summaryrefslogtreecommitdiff
path: root/modules/core/ns_status.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ns_status.cpp')
-rw-r--r--modules/core/ns_status.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/ns_status.cpp b/modules/core/ns_status.cpp
index 074d80c23..7a92fe819 100644
--- a/modules/core/ns_status.cpp
+++ b/modules/core/ns_status.cpp
@@ -62,13 +62,15 @@ class CommandNSStatus : public Command
class NSStatus : public Module
{
+ CommandNSStatus commandnsstatus;
+
public:
NSStatus(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");
this->SetType(CORE);
- this->AddCommand(NickServ, new CommandNSStatus());
+ this->AddCommand(NickServ, &commandnsstatus);
}
};