From 492b543c7ec4e11017b0cd7d338bc01e6ecc700c Mon Sep 17 00:00:00 2001 From: Adam- Date: Sat, 24 Apr 2010 22:48:58 +0000 Subject: 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 --- src/core/cs_info.c | 2 +- src/core/ns_info.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core') diff --git a/src/core/cs_info.c b/src/core/cs_info.c index 07d210afa..1322b8736 100644 --- a/src/core/cs_info.c +++ b/src/core/cs_info.c @@ -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; diff --git a/src/core/ns_info.c b/src/core/ns_info.c index 7243a4c44..d40b07506 100644 --- a/src/core/ns_info.c +++ b/src/core/ns_info.c @@ -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; } -- cgit