summaryrefslogtreecommitdiff
path: root/modules/core/ns_set_hide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ns_set_hide.cpp')
-rw-r--r--modules/core/ns_set_hide.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/ns_set_hide.cpp b/modules/core/ns_set_hide.cpp
index 6971eb4ab..ca4eaa7cb 100644
--- a/modules/core/ns_set_hide.cpp
+++ b/modules/core/ns_set_hide.cpp
@@ -133,11 +133,11 @@ class NSSetHide : public Module
Command *c = FindCommand(NickServ, "SET");
if (c)
- c->AddSubcommand(&commandnssethide);
+ c->AddSubcommand(this, &commandnssethide);
c = FindCommand(NickServ, "SASET");
if (c)
- c->AddSubcommand(&commandnssasethide);
+ c->AddSubcommand(this, &commandnssasethide);
}
~NSSetHide()