# | Line 671 | Line 671 | can_join(struct Client *source_p, struct | |
---|---|---|
671 | if (!ConfigChannel.use_invex || !find_bmask(source_p, &chptr->invexlist)) | |
672 | return ERR_INVITEONLYCHAN; | |
673 | ||
674 | < | if (chptr->mode.key[0] && (!key || irccmp(chptr->mode.key, key))) |
674 | > | if (chptr->mode.key[0] && (!key || strcmp(chptr->mode.key, key))) |
675 | return ERR_BADCHANNELKEY; | |
676 | ||
677 | if (chptr->mode.limit && dlink_list_length(&chptr->members) >= |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |