From e165cdc86c551c019589ac68e875aba23e729d21 Mon Sep 17 00:00:00 2001 From: pk910 Date: Tue, 13 Dec 2011 16:51:30 +0100 Subject: [PATCH] part 2: don't forward users if they are already in the target channel (same fix like before in another file :D) --- ircd/m_relay.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.20.1