X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/eeabf33a7c34efbedce519f67b8b87e4c75a422f..d09c55338feb5627da978058432a15dccec16907:/extensions/extb_channel.c diff --git a/extensions/extb_channel.c b/extensions/extb_channel.c index 3225d076..0de1d6dd 100644 --- a/extensions/extb_channel.c +++ b/extensions/extb_channel.c @@ -1,5 +1,5 @@ /* - * Channel extban type: matches users who are in a certain public channel + * Channel extban type: matches users who are in a certain channel * -- jilles */ @@ -47,8 +47,5 @@ static int eb_channel(const char *data, struct Client *client_p, /* require consistent target */ if (chptr->chname[0] == '#' && data[0] == '&') return EXTBAN_INVALID; - /* privacy! don't allow +s/+p channels to influence another channel */ - if (!PubChannel(chptr2) && chptr2 != chptr) - return EXTBAN_INVALID; return IsMember(client_p, chptr2) ? EXTBAN_MATCH : EXTBAN_NOMATCH; }