diff options
author | Adam <Adam@anope.org> | 2010-11-29 19:19:00 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 19:37:02 -0500 |
commit | 2a4d57a1cacd22084abea5dd21c87dc733a7b5bf (patch) | |
tree | a598b7124ca0b32ecc833539d3a5880a677a0ae2 /modules/extra/ns_set_misc.cpp | |
parent | 71c433cc502cc6073dd1e9d5cab3f49f8f6fd49e (diff) |
Fixed subcommands
Diffstat (limited to 'modules/extra/ns_set_misc.cpp')
-rw-r--r-- | modules/extra/ns_set_misc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)); } } |