diff options
Diffstat (limited to 'modules/core/cs_set_restricted.cpp')
-rw-r--r-- | modules/core/cs_set_restricted.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/cs_set_restricted.cpp b/modules/core/cs_set_restricted.cpp index 6aaa203ae..9bd4dfaeb 100644 --- a/modules/core/cs_set_restricted.cpp +++ b/modules/core/cs_set_restricted.cpp @@ -94,11 +94,11 @@ class CSSetRestricted : public Module Command *c = FindCommand(ChanServ, "SET"); if (c) - c->AddSubcommand(&commandcssetrestricted); + c->AddSubcommand(this, &commandcssetrestricted); c = FindCommand(ChanServ, "SASET"); if (c) - c->AddSubcommand(&commandcssasetrestricted); + c->AddSubcommand(this, &commandcssasetrestricted); } ~CSSetRestricted() |