diff options
Diffstat (limited to 'modules/core/cs_set.cpp')
-rw-r--r-- | modules/core/cs_set.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/cs_set.cpp b/modules/core/cs_set.cpp index 7fa2895b3..fdc9210d1 100644 --- a/modules/core/cs_set.cpp +++ b/modules/core/cs_set.cpp @@ -100,8 +100,10 @@ class CommandCSSet : public Command source.Reply(CHAN_HELP_CMD_SET); } - bool AddSubcommand(Command *c) + bool AddSubcommand(Module *creator, Command *c) { + c->module = creator; + c->service = this->service; return this->subcommands.insert(std::make_pair(c->name, c)).second; } |