diff options
Diffstat (limited to 'modules/core/ns_identify.cpp')
-rw-r--r-- | modules/core/ns_identify.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/core/ns_identify.cpp b/modules/core/ns_identify.cpp index bfb05ecc8..b46963692 100644 --- a/modules/core/ns_identify.cpp +++ b/modules/core/ns_identify.cpp @@ -98,20 +98,20 @@ class CommandNSIdentify : public Command return MOD_CONT; } - bool OnHelp(User *u, const Anope::string &subcommand) + bool OnHelp(CommandSource &source, const Anope::string &subcommand) { - u->SendMessage(NickServ, NICK_HELP_IDENTIFY); + source.Reply(NICK_HELP_IDENTIFY); return true; } - void OnSyntaxError(User *u, const Anope::string &subcommand) + void OnSyntaxError(CommandSource &source, const Anope::string &subcommand) { - SyntaxError(NickServ, u, "IDENTIFY", NICK_IDENTIFY_SYNTAX); + SyntaxError(source, "IDENTIFY", NICK_IDENTIFY_SYNTAX); } - void OnServHelp(User *u) + void OnServHelp(CommandSource &source) { - u->SendMessage(NickServ, NICK_HELP_CMD_IDENTIFY); + source.Reply(NICK_HELP_CMD_IDENTIFY); } }; |