diff options
Diffstat (limited to 'modules/core/cs_help.cpp')
-rw-r--r-- | modules/core/cs_help.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/cs_help.cpp b/modules/core/cs_help.cpp index 0a6ba7aaf..168c5fa07 100644 --- a/modules/core/cs_help.cpp +++ b/modules/core/cs_help.cpp @@ -61,13 +61,15 @@ class CommandCSHelp : public Command class CSHelp : public Module { + CommandCSHelp commandcshelp; + public: CSHelp(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(ChanServ, new CommandCSHelp()); + this->AddCommand(ChanServ, &commandcshelp); } }; |