added basic ssl support to ircu
[ircu2.10.12-pk.git] / ircd / m_part.c
index fd90fbbec6bc6b2249930ef3954054b7d587b0af..bc34ce93572eb3433536ef5fcecb1a61f9a09ae3 100644 (file)
@@ -201,14 +201,6 @@ int ms_part(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
     if (IsDelayedJoin(member))
       flags |= CHFL_DELAYED;
 
-    /*
-     * XXX BUG: If a client /part's with a part notice, on channels where
-     * he's banned, local clients will not see the part notice, but remote
-     * clients will.
-     */
-    if (!member_can_send_to_channel(member, 0))
-      flags |= CHFL_BANNED;
-
     /* part user from channel */
     joinbuf_join(&parts, chptr, flags);
   }