From 4b631c0586b621747876267e8a16e076904f51de Mon Sep 17 00:00:00 2001 From: JD Horelick Date: Wed, 15 Dec 2010 00:02:47 -0500 Subject: [PATCH] Send ERR_TOOMANYCHANNELS for each channel join that fails due to channel limits. The reason why we do this is because some clients are dependent on receiving a numeric for every channel join failure, even due to this limit where it can be assumed that subsequent joins failed. --- src/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channel.c b/src/channel.c index a2e6fa6..57e9f50 100644 --- a/src/channel.c +++ b/src/channel.c @@ -1900,7 +1900,7 @@ void user_join(struct Client * client_p, struct Client * source_p, const char * { sendto_one(source_p, form_str(ERR_TOOMANYCHANNELS), me.name, source_p->name, name); - return; + continue; } if(chptr == NULL) /* If I already have a chptr, no point doing this */