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