diff options
Diffstat (limited to 'modules/core/ns_forbid.cpp')
-rw-r--r-- | modules/core/ns_forbid.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/ns_forbid.cpp b/modules/core/ns_forbid.cpp index ad313d62b..511ef3a2f 100644 --- a/modules/core/ns_forbid.cpp +++ b/modules/core/ns_forbid.cpp @@ -108,13 +108,15 @@ class CommandNSForbid : public Command class NSForbid : public Module { + CommandNSForbid commandnsforbid; + public: NSForbid(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(NickServ, new CommandNSForbid()); + this->AddCommand(NickServ, &commandnsforbid); } }; |