Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / whocmds.c
index e90ec215fe92eca8d89c7a50a4d94eeae5d38ab7..87f762672df239efbd3a26698647dac2631b4ece 100644 (file)
@@ -212,7 +212,9 @@ void do_who(struct Client* sptr, struct Client* acptr, struct Channel* repchan,
   if (fields & WHO_FIELD_IDL)
   {
     *p1++ = ' ';
-    if (MyUser(acptr))
+    if (MyUser(acptr) &&
+       (IsAnOper(sptr) || !feature_bool(FEAT_HIS_WHO_SERVERNAME) ||
+        acptr == sptr))
       p1 += ircd_snprintf(0, p1, 11, "%d",
                           CurrentTime - cli_user(acptr)->last);
     else