X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=src%2Fngircd%2Firc-channel.c;h=41947a8ac2eb930baf6f4f3642713e33d992dfe0;hb=a7f37cebdc300b3b87bb8d6b558769cf11441f61;hp=ed4839afdcef63782be0510b876915d3522c8e10;hpb=47b99c69cc411ec35078917ab6d9d7278ed2a1da;p=ngircd.git diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c index ed4839af..41947a8a 100644 --- a/src/ngircd/irc-channel.c +++ b/src/ngircd/irc-channel.c @@ -365,7 +365,7 @@ IRC_JOIN( CLIENT *Client, REQUEST *Req ) 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; }