From 443654f15bf036bb18f9847332e2bd03ec823b3d Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Fri, 24 Jul 2009 01:47:47 +0000 Subject: 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 --- src/core/bs_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/bs_info.c') diff --git a/src/core/bs_info.c b/src/core/bs_info.c index e43f264c9..cad350cb2 100644 --- a/src/core/bs_info.c +++ b/src/core/bs_info.c @@ -236,7 +236,7 @@ class CommandBSInfo : public Command return MOD_CONT; } - bool OnHelp(User *u, const std::string &subcommand) + bool OnHelp(User *u, const ci::string &subcommand) { notice_help(s_BotServ, u, BOT_HELP_INFO); return true; -- cgit