modern-irc icon indicating copy to clipboard operation
modern-irc copied to clipboard

Mention that servers may use ERR_NOSUCHCHANNEL instead of ERR_CHANOPRIVSNEEDED to conceal +s channels

Open progval opened this issue 11 months ago • 4 comments

This matches InspIRCd's behavior, which Ergo is considering too.

As far as I can tell, no one else implements it this way, so this is not phrased as a requirement.

progval avatar Feb 20 '25 19:02 progval

I missed this earlier, but I would suggest mentioning 442 ERR_NOTONCHANNEL as an alternative (i.e. sent in both cases, whether the channel exists or not), since it is more "truthful" ;-)

slingamn avatar Feb 21 '25 06:02 slingamn

done

progval avatar Feb 21 '25 06:02 progval

The text is confusing, are you suggesting ERR_NOSUCHCHANNEL and ERR_NOTONCHANNEL to be valid responses to PRIVMSG and NOTICE? Below are the valid responses from the RFCs. It seems you want to add two? I haven't seen implementations use the aforementioned ones. @slingamn if Ergo is indeed the only one deviating, can't it use one of the listed responses instead (e.g. ERR_NOSUCHNICK)? It's becoming the wild west of responses which is very confusing.

   Numeric Replies:

           ERR_NORECIPIENT                 ERR_NOTEXTTOSEND
           ERR_CANNOTSENDTOCHAN            ERR_NOTOPLEVEL
           ERR_WILDTOPLEVEL                ERR_TOOMANYTARGETS
           ERR_NOSUCHNICK
           RPL_AWAY

tommyrot avatar Feb 21 '25 13:02 tommyrot

that's not my intent, I need a better way to phrase this.

progval avatar Feb 21 '25 13:02 progval