diff options
Diffstat (limited to 'modules/core/bs_unassign.cpp')
-rw-r--r-- | modules/core/bs_unassign.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/core/bs_unassign.cpp b/modules/core/bs_unassign.cpp index b1962c51f..1f46c6863 100644 --- a/modules/core/bs_unassign.cpp +++ b/modules/core/bs_unassign.cpp @@ -46,20 +46,20 @@ class CommandBSUnassign : 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_UNASSIGN); + source.Reply(BOT_HELP_UNASSIGN); return true; } - void OnSyntaxError(User *u, const Anope::string &subcommand) + void OnSyntaxError(CommandSource &source, const Anope::string &subcommand) { - SyntaxError(BotServ, u, "UNASSIGN", BOT_UNASSIGN_SYNTAX); + SyntaxError(source, "UNASSIGN", BOT_UNASSIGN_SYNTAX); } - void OnServHelp(User *u) + void OnServHelp(CommandSource &source) { - u->SendMessage(BotServ, BOT_HELP_CMD_UNASSIGN); + source.Reply(BOT_HELP_CMD_UNASSIGN); } }; |