From 3a956c51be22f1b6f3b6808c9f56fb6b26c7dd1a Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Fri, 11 Dec 2009 21:17:08 +0000 Subject: do not show the NICK_INFO_FOR_MORE message when the user has no permission to do it git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2695 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/ns_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ns_info.c b/src/core/ns_info.c index bcd7329f8..56fa79c71 100644 --- a/src/core/ns_info.c +++ b/src/core/ns_info.c @@ -187,7 +187,7 @@ class CommandNSInfo : public Command } } - if (!show_hidden) + if (!show_hidden && u->nc && (na->nc == u->nc || u->nc->IsServicesOper())) notice_lang(Config.s_NickServ, u, NICK_INFO_FOR_MORE, Config.s_NickServ, na->nick); } return MOD_CONT; -- cgit