diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/cs_info.c | 2 | ||||
-rw-r--r-- | src/core/ns_info.c | 4 |
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; } |