diff options
author | Adam <Adam@anope.org> | 2010-11-27 00:04:13 -0600 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 19:37:00 -0500 |
commit | 71c433cc502cc6073dd1e9d5cab3f49f8f6fd49e (patch) | |
tree | c9a463b9155471e11a067fd9306bfa152b189b51 /modules/extra/cs_appendtopic.cpp | |
parent | 2b10cc84eab6cb9253611a090eb3ef67a6d3d0a7 (diff) |
The rest of the earlier command changes
Diffstat (limited to 'modules/extra/cs_appendtopic.cpp')
-rw-r--r-- | modules/extra/cs_appendtopic.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/extra/cs_appendtopic.cpp b/modules/extra/cs_appendtopic.cpp index b98efeed6..d0320f516 100644 --- a/modules/extra/cs_appendtopic.cpp +++ b/modules/extra/cs_appendtopic.cpp @@ -85,25 +85,25 @@ class CommandCSAppendTopic : public Command return MOD_CONT; } - bool OnHelp(User *u, const Anope::string &subcommand) + bool OnHelp(CommandSource &source, const Anope::string &subcommand) { - me->SendMessage(ChanServ, u, _("Syntax: APPENDTOPIC channel text")); - u->SendMessage(Config->s_ChanServ, " "); - me->SendMessage(ChanServ, u, _("This command allows users to append text to a currently set\n" + me->SendMessage(source, _("Syntax: APPENDTOPIC channel text")); + source.Reply(" "); + me->SendMessage(source, _("This command allows users to append text to a currently set\n" "channel topic. When TOPICLOCK is on, the topic is updated and\n" "the new, updated topic is locked.")); return true; } - void OnSyntaxError(User *u, const Anope::string &subcommand) + void OnSyntaxError(CommandSource &source, const Anope::string &subcommand) { - me->SendMessage(ChanServ, u, _("Syntax: APPENDTOPIC channel text")); + me->SendMessage(source, _("Syntax: APPENDTOPIC channel text")); } - void OnServHelp(User *u) + void OnServHelp(CommandSource &source) { - me->SendMessage(ChanServ, u, _(" APPENDTOPIC Add text to a channels topic")); + me->SendMessage(source, _(" APPENDTOPIC Add text to a channels topic")); } }; |