mirror of
https://github.com/anope/anope.git
synced 2026-07-06 15:13:13 +02:00
Changed subcommand parameter of Command's OnHelp() from std::string to ci::string, allows sub-help (like NS SET PASSWORD) to be called without requiring the subcommand to be sent by the user in all caps.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2391 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -117,7 +117,7 @@ class CommandCSAppendTopic : public Command
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
bool OnHelp(User *u, const std::string &subcommand)
|
||||
bool OnHelp(User *u, const ci::string &subcommand)
|
||||
{
|
||||
me->NoticeLang(s_ChanServ, u, LNG_APPENDTOPIC_SYNTAX);
|
||||
ircdproto->SendMessage(findbot(s_ChanServ), u->nick, " ");
|
||||
|
||||
Reference in New Issue
Block a user