summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-03-23 05:07:43 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-03-23 05:07:43 +0000
commitda4ce1788f4f3717c0184e55f6ffc8735919b3c8 (patch)
treee726f795ac18d6ef12bddf87e75ddf6e9f31b5c9 /src
parent190a3de3b910397250f7a31b0a5f9e6589aedb78 (diff)
Patch from DukePyrolator, only show the message about using NS INFO ALL if the user hasn't used NS INFO ALL.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2197 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/core/ns_info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ns_info.c b/src/core/ns_info.c
index 93e305d6a..3485cde6e 100644
--- a/src/core/ns_info.c
+++ b/src/core/ns_info.c
@@ -199,7 +199,8 @@ class CommandNSInfo : public Command
}
}
- notice_lang(s_NickServ, u, NICK_INFO_FOR_MORE, s_NickServ, na->nick);
+ if (!show_hidden)
+ notice_lang(s_NickServ, u, NICK_INFO_FOR_MORE, s_NickServ, na->nick);
}
return MOD_CONT;
}