summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-08 02:33:39 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-08 02:33:39 +0000
commit280dcc75978a1cc08fffade5513284c544c37313 (patch)
treebc2e13bed8dd7971e258c8befcebcf11c744281e
parent37de1286fa9fe3186e4a65c418679540efb64b79 (diff)
Only show the user as online in /nickserv info if they are identified for the group of that nick
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2693 5417fbe8-f217-4b02-8779-1006273d7864
-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 2d1056bcd..bcd7329f8 100644
--- a/src/core/ns_info.c
+++ b/src/core/ns_info.c
@@ -85,7 +85,8 @@ class CommandNSInfo : public Command
time_t expt;
/* Is the real owner of the nick we're looking up online? -TheShadow */
- if (finduser(na->nick))
+ User *u2 = finduser(na->nick);
+ if (u2 && u2->nc == na->nc)
nick_online = 1;
/* Only show hidden fields to owner and sadmins and only when the ALL