diff options
Diffstat (limited to 'modules/core/bs_info.cpp')
-rw-r--r-- | modules/core/bs_info.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/core/bs_info.cpp b/modules/core/bs_info.cpp index 7c3ea2ef9..47bf2244f 100644 --- a/modules/core/bs_info.cpp +++ b/modules/core/bs_info.cpp @@ -208,20 +208,20 @@ class CommandBSInfo : public Command return MOD_CONT; } - bool OnHelp(User *u, const Anope::string &subcommand) + bool OnHelp(CommandSource &source, const Anope::string &subcommand) { - u->SendMessage(BotServ, BOT_HELP_INFO); + source.Reply(BOT_HELP_INFO); return true; } - void OnSyntaxError(User *u, const Anope::string &subcommand) + void OnSyntaxError(CommandSource &source, const Anope::string &subcommand) { - SyntaxError(BotServ, u, "INFO", BOT_INFO_SYNTAX); + SyntaxError(source, "INFO", BOT_INFO_SYNTAX); } - void OnServHelp(User *u) + void OnServHelp(CommandSource &source) { - u->SendMessage(BotServ, BOT_HELP_CMD_INFO); + source.Reply(BOT_HELP_CMD_INFO); } }; |