summaryrefslogtreecommitdiff
path: root/modules/core/hs_group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/hs_group.cpp')
-rw-r--r--modules/core/hs_group.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/hs_group.cpp b/modules/core/hs_group.cpp
index 3aa0fc3c4..00a30cb54 100644
--- a/modules/core/hs_group.cpp
+++ b/modules/core/hs_group.cpp
@@ -51,13 +51,15 @@ class CommandHSGroup : public Command
class HSGroup : public Module
{
+ CommandHSGroup commandhsgroup;
+
public:
HSGroup(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");
this->SetType(CORE);
- this->AddCommand(HostServ, new CommandHSGroup());
+ this->AddCommand(HostServ, &commandhsgroup);
}
};