]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blob - whonoidle.patch
Remove topic_reveal.patch. This has been fixed in IRCU and ircu patch is correct...
[irc/quakenet/snircd-patchqueue.git] / whonoidle.patch
1 hide idle time of users with mode +I in non-HIS setup in WHO
2
3 diff -r 3932ddb66141 ircd/whocmds.c
4 --- a/ircd/whocmds.c
5 +++ b/ircd/whocmds.c
6 @@ -233,7 +233,7 @@
7 {
8 *p1++ = ' ';
9 if (MyUser(acptr) &&
10 - ((IsAnOper(sptr) && HasPriv(sptr, PRIV_ROUTEINFO)) || !feature_bool(FEAT_HIS_WHO_SERVERNAME) ||
11 + ((IsAnOper(sptr) && HasPriv(sptr, PRIV_ROUTEINFO)) || (!feature_bool(FEAT_HIS_WHO_SERVERNAME) && !IsNoIdle(acptr)) ||
12 acptr == sptr))
13 p1 += ircd_snprintf(0, p1, 11, "%d",
14 CurrentTime - cli_user(acptr)->last);