summaryrefslogtreecommitdiff
path: root/modules/extra
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra')
-rw-r--r--modules/extra/cs_set_misc.cpp4
-rw-r--r--modules/extra/ns_set_misc.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/extra/cs_set_misc.cpp b/modules/extra/cs_set_misc.cpp
index bdac568e5..9f4ade29c 100644
--- a/modules/extra/cs_set_misc.cpp
+++ b/modules/extra/cs_set_misc.cpp
@@ -158,9 +158,9 @@ class CSSetMisc : public Module
}
if (set)
- set->AddSubcommand(new CommandCSSetMisc(cname, desc));
+ set->AddSubcommand(this, new CommandCSSetMisc(cname, desc));
if (saset)
- saset->AddSubcommand(new CommandCSSASetMisc(cname, desc));
+ saset->AddSubcommand(this, new CommandCSSASetMisc(cname, desc));
}
}
diff --git a/modules/extra/ns_set_misc.cpp b/modules/extra/ns_set_misc.cpp
index 87263fd64..65dfadc2d 100644
--- a/modules/extra/ns_set_misc.cpp
+++ b/modules/extra/ns_set_misc.cpp
@@ -161,9 +161,9 @@ class NSSetMisc : public Module
}
if (set)
- set->AddSubcommand(new CommandNSSetMisc(cname, desc));
+ set->AddSubcommand(this, new CommandNSSetMisc(cname, desc));
if (saset)
- saset->AddSubcommand(new CommandNSSASetMisc(cname, desc));
+ saset->AddSubcommand(this, new CommandNSSASetMisc(cname, desc));
}
}