1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 20:36:38 +02:00

The rest of the earlier command changes

This commit is contained in:
Adam
2010-11-27 00:04:13 -06:00
parent 2b10cc84ea
commit 71c433cc50
158 changed files with 1575 additions and 1615 deletions
+8 -8
View File
@@ -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"));
}
};