From 34c541e00ee6cd61ba2e16c42fc9043cce9b695a Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 20 Feb 2025 20:58:16 +0100 Subject: [PATCH 1/2] Mention that servers may use ERR_NOSUCHCHANNEL instead of ERR_CHANOPRIVSNEEDED to conceal +s channels 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. --- _includes/modern-appendix.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_includes/modern-appendix.md b/_includes/modern-appendix.md index e28881b..1216b0c 100644 --- a/_includes/modern-appendix.md +++ b/_includes/modern-appendix.md @@ -149,6 +149,9 @@ This channel mode controls whether the channel is 'secret', and does not have an A channel that is set to secret will not show up in responses to the {% message LIST %} or {% message NAMES %} command unless the client sending the command is joined to the channel. Likewise, secret channels will not show up in the {% numeric RPL_WHOISCHANNELS %} numeric unless the user the numeric is being sent to is joined to that channel. +Additionally, servers may return {% numeric ERR_NOSUCHCHANNEL %} instead of {% numeric ERR_CHANOPRIVSNEEDED %} to channel commands ({% message MODE %}, {% message TOPIC %}, {% message PRIVMSG %}, {% message NOTICE %}) to a secret channel from a user not on that channel. +This allows servers to further conceal the channel's existence silently (as the only other way to reveal a channel is then to {% message JOIN %} it, which notifies channel members on success). + ### Protected Topic Mode This mode is standard, and the mode letter used for it is `"+t"`. From b44e8d22dede899ab35d10bc57f11cb1c62a4131 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 21 Feb 2025 07:56:58 +0100 Subject: [PATCH 2/2] Mention ERR_NOTONCHANNEL too, as many servers do that --- _includes/modern-appendix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/modern-appendix.md b/_includes/modern-appendix.md index 1216b0c..c394652 100644 --- a/_includes/modern-appendix.md +++ b/_includes/modern-appendix.md @@ -149,7 +149,7 @@ This channel mode controls whether the channel is 'secret', and does not have an A channel that is set to secret will not show up in responses to the {% message LIST %} or {% message NAMES %} command unless the client sending the command is joined to the channel. Likewise, secret channels will not show up in the {% numeric RPL_WHOISCHANNELS %} numeric unless the user the numeric is being sent to is joined to that channel. -Additionally, servers may return {% numeric ERR_NOSUCHCHANNEL %} instead of {% numeric ERR_CHANOPRIVSNEEDED %} to channel commands ({% message MODE %}, {% message TOPIC %}, {% message PRIVMSG %}, {% message NOTICE %}) to a secret channel from a user not on that channel. +Additionally, servers may return {% numeric ERR_NOSUCHCHANNEL %} instead of {% numeric ERR_CHANOPRIVSNEEDED %} or {% numeric ERR_NOTONCHANNEL %} to channel commands ({% message MODE %}, {% message TOPIC %}, {% message PRIVMSG %}, {% message NOTICE %}) to a secret channel from a user not on that channel. This allows servers to further conceal the channel's existence silently (as the only other way to reveal a channel is then to {% message JOIN %} it, which notifies channel members on success). ### Protected Topic Mode