summaryrefslogtreecommitdiff
path: root/src/core/cs_suspend.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-07-24 01:47:47 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-07-24 01:47:47 +0000
commit443654f15bf036bb18f9847332e2bd03ec823b3d (patch)
tree27e4ac8448922d1c1831563e021fc8c5d534edec /src/core/cs_suspend.c
parent99fe46de552058cc5aff49ab3cded4ba35bd1510 (diff)
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
Diffstat (limited to 'src/core/cs_suspend.c')
-rw-r--r--src/core/cs_suspend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cs_suspend.c b/src/core/cs_suspend.c
index 2f6662d8b..8ab2fa077 100644
--- a/src/core/cs_suspend.c
+++ b/src/core/cs_suspend.c
@@ -96,7 +96,7 @@ class CommandCSSuspend : public Command
return MOD_CONT;
}
- bool OnHelp(User *u, const std::string &subcommand)
+ bool OnHelp(User *u, const ci::string &subcommand)
{
notice_help(s_ChanServ, u, CHAN_SERVADMIN_HELP_SUSPEND);
return true;
@@ -166,7 +166,7 @@ class CommandCSUnSuspend : public Command
return MOD_CONT;
}
- bool OnHelp(User *u, const std::string &subcommand)
+ bool OnHelp(User *u, const ci::string &subcommand)
{
notice_help(s_ChanServ, u, CHAN_SERVADMIN_HELP_UNSUSPEND);
return true;