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:
+1
-1
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user