From 2f10a46e1ebfc9d8f32c22b356c1b6e60bfabbe5 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Wed, 19 Feb 2003 16:02:29 +0000 Subject: [PATCH] - Fixed chmode +u again. --- Changes | 1 + src/send.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 440ec8777..77bd2769a 100644 --- a/Changes +++ b/Changes @@ -1929,3 +1929,4 @@ seen. gmtime warning still there - Updated win32 compile instructions - Fixed set::dns error messages - Fixed win32 compile error +- Fixed chmode +u again. diff --git a/src/send.c b/src/send.c index adb3cf653..5336e37cd 100644 --- a/src/send.c +++ b/src/send.c @@ -977,7 +977,8 @@ void sendto_common_channels(aClient *user, char *pattern, ...) cptr = users->cptr; if (!MyConnect(cptr) || sentalong[cptr->slot] == sentalong_marker) continue; - if ((channels->chptr->mode.mode & MODE_AUDITORIUM) && !is_chanownprotop(user, channels->chptr)) + if ((channels->chptr->mode.mode & MODE_AUDITORIUM) && + !(is_chanownprotop(user, channels->chptr) || is_chanownprotop(cptr, channels->chptr))) continue; sentalong[cptr->slot] = sentalong_marker; vsendto_prefix_one(cptr, user, pattern, vl);