X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_relay.c;h=9996719bc6fd97b7c5ff66db764870928bfbdc09;hb=9c8711e502f30d7e1925d1f6568a13d80568741f;hp=2bfb142da4b69c3c3180c94b75f57c3e5b51d98b;hpb=bb5d6a24f02155e2252474809cd5e7161fa29b93;p=ircu2.10.12-pk.git diff --git a/ircd/m_relay.c b/ircd/m_relay.c index 2bfb142..9996719 100644 --- a/ircd/m_relay.c +++ b/ircd/m_relay.c @@ -90,6 +90,8 @@ static void mode_a_check_altchan(struct Client* sptr, char *channel) { joinbuf_flush(&create); } } else { + if(find_member_link(chptrb, sptr)) + return; //we have already joined this channel //first of all check if we may even join this channel int err2 = 0; int flags = 0;