diff options
Diffstat (limited to 'modules/core/hs_setall.cpp')
-rw-r--r-- | modules/core/hs_setall.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/hs_setall.cpp b/modules/core/hs_setall.cpp index adf2f9610..9bf6369fe 100644 --- a/modules/core/hs_setall.cpp +++ b/modules/core/hs_setall.cpp @@ -117,13 +117,15 @@ class CommandHSSetAll : public Command class HSSetAll : public Module { + CommandHSSetAll commandhssetall; + public: HSSetAll(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(HostServ, new CommandHSSetAll()); + this->AddCommand(HostServ, &commandhssetall); } }; |