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/ms_cancel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/ms_cancel.c') diff --git a/src/core/ms_cancel.c b/src/core/ms_cancel.c index 0991303dc..076501183 100644 --- a/src/core/ms_cancel.c +++ b/src/core/ms_cancel.c @@ -59,7 +59,7 @@ class CommandMSCancel : public Command return MOD_CONT; } - bool OnHelp(User *u, const std::string &subcommand) + bool OnHelp(User *u, const ci::string &subcommand) { notice_help(s_MemoServ, u, MEMO_HELP_CANCEL); return true; -- cgit