X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fm_svsjoin.c;h=f79e4cc271ec5afdb6e9825d699b30244e006fe1;hp=94156fdcd42ed0d9b14149ac06bc05d0fc471f0b;hb=7199e72cd97fc5d688a23897c8195b3035e2786f;hpb=6177e8285b22cb6277d21a29b165cbda59728b0d diff --git a/ircd/m_svsjoin.c b/ircd/m_svsjoin.c index 94156fd..f79e4cc 100644 --- a/ircd/m_svsjoin.c +++ b/ircd/m_svsjoin.c @@ -87,7 +87,7 @@ int m_svsjoin(struct Client *cptr, struct Client *sptr, int parc, char *parv[]) send_reply(acptr, RPL_TOPIC, chptr->chname, chptr->topic); send_reply(acptr, RPL_TOPICWHOTIME, chptr->chname, chptr->topic_nick, chptr->topic_time); } - do_names(acptr, chptr, NAMES_ALL|NAMES_EON); + do_names(acptr, chptr, NAMES_ALL|NAMES_EON|(((chptr->mode.mode & MODE_AUDITORIUM) && !(flags & CHFL_CHANOP)) ? NAMES_OPS : 0)); joinbuf_flush(&join); joinbuf_flush(&create); @@ -154,7 +154,7 @@ signed int ms_svsjoin(struct Client* cptr, struct Client* sptr, signed int parc, send_reply(acptr, RPL_TOPIC, chptr->chname, chptr->topic); send_reply(acptr, RPL_TOPICWHOTIME, chptr->chname, chptr->topic_nick, chptr->topic_time); } - do_names(acptr, chptr, NAMES_ALL|NAMES_EON); + do_names(acptr, chptr, NAMES_ALL|NAMES_EON|(((chptr->mode.mode & MODE_AUDITORIUM) && !(flags & CHFL_CHANOP)) ? NAMES_OPS : 0)); joinbuf_flush(&join); joinbuf_flush(&create);