]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Send ERR_TOOMANYCHANNELS for each channel join that fails due to channel limits.
authorJD Horelick <redacted>
Wed, 15 Dec 2010 05:02:47 +0000 (00:02 -0500)
committerJD Horelick <redacted>
Wed, 15 Dec 2010 05:02:47 +0000 (00:02 -0500)
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

index a2e6fa60d66fa7e8a28eb4f3ec95fefb292cea42..57e9f50720472960241d1b5fcb2fbd71b55f0a7d 100644 (file)
@@ -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 */