]> jfr.im git - solanum.git/blobdiff - extensions/extb_channel.c
Merge pull request #288 from edk0/umode-o-split
[solanum.git] / extensions / extb_channel.c
index 3225d07606a193e634e7c879d3c5d6a2f84e10b4..0de1d6ddfcca44ee9c4d65b8f3cbb7e700362eb2 100644 (file)
@@ -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;
 }