projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git]
/
ircd
/
whocmds.c
diff --git
a/ircd/whocmds.c
b/ircd/whocmds.c
index e90ec215fe92eca8d89c7a50a4d94eeae5d38ab7..87f762672df239efbd3a26698647dac2631b4ece 100644
(file)
--- a/
ircd/whocmds.c
+++ b/
ircd/whocmds.c
@@
-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