commit - 47b99c69cc411ec35078917ab6d9d7278ed2a1da
commit + a7f37cebdc300b3b87bb8d6b558769cf11441f61
blob - ed4839afdcef63782be0510b876915d3522c8e10
blob + 41947a8ac2eb930baf6f4f3642713e33d992dfe0
--- src/ngircd/irc-channel.c
+++ src/ngircd/irc-channel.c
chan = Channel_Search(channame);
if (!chan && Conf_PredefChannelsOnly) {
/* channel must be created, but forbidden by config */
- IRC_WriteStrClient(Client, ERR_BANNEDFROMCHAN_MSG,
+ IRC_WriteStrClient(Client, ERR_NOSUCHCHANNEL_MSG,
Client_ID(Client), channame);
goto join_next;
}