X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_who.c;h=4368c4ea9995a484526dc172d1737d4743032f6b;hb=275e1f928a44325a7ea1f0803d0ad23dc4e92d93;hp=7f5277b44d83ae41a8ac74049d6b435bbb4b64a8;hpb=220cae635e3237f07a9d77bd7229e445f555c78a;p=ircu2.10.12-pk.git diff --git a/ircd/m_who.c b/ircd/m_who.c index 7f5277b..4368c4e 100644 --- a/ircd/m_who.c +++ b/ircd/m_who.c @@ -337,6 +337,8 @@ int m_who(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) continue; if ((acptr != sptr) && IsInvisibleJoin(member)) continue; + if((acptr != sptr) && (!IsChanOp(member) && !HasVoice(member) && (chptr->mode.mode & MODE_AUDITORIUM))) + continue; if (!(isthere || (SEE_USER(sptr, acptr, bitsel)))) continue; if (!Process(acptr)) /* This can't be moved before other checks */