1
0
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:
cyberbotx
2009-07-24 01:47:47 +00:00
parent 99fe46de55
commit 443654f15b
112 changed files with 155 additions and 154 deletions
+1 -1
View File
@@ -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, " ");