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.
This commit is contained in:
William Pitcock 2010-12-14 02:24:23 -06:00
parent f3cfe9937f
commit cddbab51bb

View file

@ -271,7 +271,7 @@ m_join(struct Client *client_p, struct Client *source_p, int parc, const char *p
{
sendto_one(source_p, form_str(ERR_TOOMANYCHANNELS),
me.name, source_p->name, name);
return 0;
continue;
}
if(chptr == NULL) /* If I already have a chptr, no point doing this */