1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 03:43:13 +02:00

Fix more problems with help, patch from Adam.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2270 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2009-04-10 02:16:07 +00:00
parent 7b6a109100
commit a2b1284aac
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ class CommandCSInfo : public Command
return MOD_CONT;
}
bool OnUserHelp(User *u)
bool OnHelp(User *u, const std::string &subcommand)
{
if (u->nc && u->nc->IsServicesOper())
notice_lang(s_ChanServ, u, CHAN_SERVADMIN_HELP_INFO);
+1 -1
View File
@@ -159,7 +159,7 @@ class CommandNSAccess : public Command
return MOD_CONT;
}
bool OnHelp(User *u, std::string &subcommand)
bool OnHelp(User *u, const std::string &subcommand)
{
notice_help(s_NickServ, u, NICK_HELP_ACCESS);
return true;
+1 -1
View File
@@ -96,7 +96,7 @@ class CommandNSRecover : public Command
notice_help(s_NickServ, u, NICK_HELP_RECOVER, relstr);
//do_help_limited(s_NickServ, u, this);
return MOD_CONT;
return true;
}
void OnSyntaxError(User *u)