summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-04-24 22:48:58 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-04-24 22:48:58 +0000
commit492b543c7ec4e11017b0cd7d338bc01e6ecc700c (patch)
tree7fd4e2b95279754c4c3183457b65f7801c264b1e /src
parent0bfe09ba5d6f315801329f0406c20f453d436026 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/core/cs_info.c2
-rw-r--r--src/core/ns_info.c4
2 files changed, 3 insertions, 3 deletions
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;
}