diff options
Diffstat (limited to 'modules/core')
139 files changed, 1363 insertions, 1405 deletions
diff --git a/modules/core/bs_act.cpp b/modules/core/bs_act.cpp index 87c7125ee..a41ad4626 100644 --- a/modules/core/bs_act.cpp +++ b/modules/core/bs_act.cpp @@ -57,20 +57,20 @@ class CommandBSAct : public Command return MOD_CONT; } - void OnSyntaxError(User *u, const Anope::string &subcommand) + void OnSyntaxError(CommandSource &source, const Anope::string &subcommand) { - SyntaxError(BotServ, u, "ACT", BOT_ACT_SYNTAX); + SyntaxError(source, "ACT", BOT_ACT_SYNTAX); } - bool OnHelp(User *u, const Anope::string &subcommand) + bool OnHelp(CommandSource &source, const Anope::string &subcommand) { - u->SendMessage(BotServ, BOT_HELP_ACT); + source.Reply(BOT_HE |
