summaryrefslogtreecommitdiff
path: root/src/core/hs_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hs_set.c')
-rw-r--r--src/core/hs_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hs_set.c b/src/core/hs_set.c
index 3b988a929..56adda848 100644
--- a/src/core/hs_set.c
+++ b/src/core/hs_set.c
@@ -30,7 +30,7 @@ class HSSet : public Module
this->SetType(CORE);
c = createCommand("SET", myDoSet, is_host_setter, HOST_HELP_SET, -1, -1, -1, -1);
- moduleAddCommand(HOSTSERV, c, MOD_UNIQUE);
+ this->AddCommand(HOSTSERV, c, MOD_UNIQUE);
moduleSetHostHelp(myHostServHelp);
}