diff options
Diffstat (limited to 'modules/core/cs_suspend.cpp')
-rw-r--r-- | modules/core/cs_suspend.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/core/cs_suspend.cpp b/modules/core/cs_suspend.cpp index 7475f2e3a..37fae7723 100644 --- a/modules/core/cs_suspend.cpp +++ b/modules/core/cs_suspend.cpp @@ -12,6 +12,7 @@ /*************************************************************************/ #include "module.h" +#include "chanserv.h" class CommandCSSuspend : public Command { @@ -153,8 +154,8 @@ class CSSuspend : public Module this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(ChanServ, &commandcssuspend); - this->AddCommand(ChanServ, &commandcsunsuspend); + this->AddCommand(chanserv->Bot(), &commandcssuspend); + this->AddCommand(chanserv->Bot(), &commandcsunsuspend); } }; |