summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 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