X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fchannel.c;h=aa266307b4dbbc5ad26739aabfb1b31eeb20b2da;hp=2a83b7c3f210e5a4a428ae288b661f6fcbfde750;hb=bdcbb7e5fe904bc2eabe087a03b8294b4de6ef6a;hpb=8e6d4e241c4250f28d37e38db2cbc9d6b86e6aa8 diff --git a/ircd/channel.c b/ircd/channel.c index 2a83b7c..aa26630 100644 --- a/ircd/channel.c +++ b/ircd/channel.c @@ -3916,7 +3916,7 @@ joinbuf_join(struct JoinBuf *jbuf, struct Channel *chan, unsigned int flags) SetUserParting(member); /* Send notification to channel */ - if((chan->mode.mode & MODE_AUDITORIUM) && !(flags & CHFL_VOICED_OR_OPPED)) { + if((chan->mode.mode & MODE_AUDITORIUM) && !(member->status & CHFL_VOICED_OR_OPPED)) { //send part to ops only sendcmdto_channel_butserv_butone(jbuf->jb_source, CMD_PART, chan, NULL, SKIP_NONOPS, "%H :%s", chan, jbuf->jb_comment); if(MyUser(jbuf->jb_source))