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

Fixed the /nickserv help info output to services opers and the reply from /chanserv help info to be correct

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2914 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2010-04-24 22:48:58 +00:00
parent 0bfe09ba5d
commit 492b543c7e
15 changed files with 32 additions and 29 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ class CommandCSInfo : public Command
bool OnHelp(User *u, const ci::string &subcommand)
{
notice_lang(Config.s_ChanServ, u, CHAN_HELP_INFO);
if (u->Account() && u->Account()->IsServicesOper())
if (u->Account() && u->Account()->HasPriv("chanserv/auspex"))
notice_lang(Config.s_ChanServ, u, CHAN_SERVADMIN_HELP_INFO);
return true;
+2 -2
View File
@@ -190,10 +190,10 @@ class CommandNSInfo : public Command
bool OnHelp(User *u, const ci::string &subcommand)
{
notice_help(Config.s_NickServ, u, NICK_HELP_INFO);
if (u->Account() && u->Account()->IsServicesOper())
notice_help(Config.s_NickServ, u, NICK_SERVADMIN_HELP_INFO);
else
notice_help(Config.s_NickServ, u, NICK_HELP_INFO);
return true;
}