From 280dcc75978a1cc08fffade5513284c544c37313 Mon Sep 17 00:00:00 2001 From: Adam- Date: Tue, 8 Dec 2009 02:33:39 +0000 Subject: 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 --- src/core/ns_info.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit