{"action":"closed","issue":{"url":"https://api.github.com/repos/oragono/oragono/issues/687","repository_url":"https://api.github.com/repos/oragono/oragono","labels_url":"https://api.github.com/repos/oragono/oragono/issues/687/labels{/name}","comments_url":"https://api.github.com/repos/oragono/oragono/issues/687/comments","events_url":"https://api.github.com/repos/oragono/oragono/issues/687/events","html_url":"https://github.com/oragono/oragono/issues/687","id":536520791,"node_id":"MDU6SXNzdWU1MzY1MjA3OTE=","number":687,"title":"Secret channels - possible issue!?","user":{"login":"bogdomania","id":46259363,"node_id":"MDQ6VXNlcjQ2MjU5MzYz","avatar_url":"https://avatars1.githubusercontent.com/u/46259363?v=4","gravatar_id":"","url":"https://api.github.com/users/bogdomania","html_url":"https://github.com/bogdomania","followers_url":"https://api.github.com/users/bogdomania/followers","following_url":"https://api.github.com/users/bogdomania/following{/other_user}","gists_url":"https://api.github.com/users/bogdomania/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdomania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdomania/subscriptions","organizations_url":"https://api.github.com/users/bogdomania/orgs","repos_url":"https://api.github.com/users/bogdomania/repos","events_url":"https://api.github.com/users/bogdomania/events{/privacy}","received_events_url":"https://api.github.com/users/bogdomania/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-12-11T17:42:19Z","updated_at":"2019-12-12T11:25:26Z","closed_at":"2019-12-12T11:25:26Z","author_association":"NONE","body":"So, setting +s mode on a channel, should render it secret, from regular users. I'm not sure about OPER.\r\n\r\nNow, /list works as expected, if the channel has +s set, it won't be visible in the channels list. Good.\r\nThe problem appears when I just /lusers. No channels in the list, but /lusers still reports that a channel is formed. Is this to be expected?\r\n\r\n![secret chans](https://user-images.githubusercontent.com/46259363/70645630-05e2d500-1c4e-11ea-9e16-9cd1c39ed1bf.png)\r\n\r\n\r\nHere, the +S mode is set, for the channel.\r\n\r\n![secret2](https://user-images.githubusercontent.com/46259363/70645646-0da27980-1c4e-11ea-95f5-7d1843a736d8.png)\r\n\r\nL.E.\r\n\r\nRFC 2811 states this\r\n\r\n> 4.2.6 Private and Secret Channels\r\n> The channel flag 'p' is used to mark a channel \"private\" and the\r\n   channel flag 's' to mark a channel \"secret\".  Both properties are\r\n   similar and conceal the existence of the channel from other users.\r\n\r\n>This means that there is no way of getting this channel's name from\r\n   the server without being a member.  In other words, these channels\r\n   MUST be omitted from replies to queries like the WHOIS command.\r\n\r\n> When a channel is \"secret\", in addition to the restriction above, the\r\n   server will act as if the channel does not exist for queries like the\r\n   TOPIC, LIST, NAMES commands.  Note that there is one exception to\r\n   this rule: servers will correctly reply to the MODE command.\r\n   Finally, secret channels are not accounted for in the reply to the\r\n   LUSERS command (See \"Internet Relay Chat: Client Protocol\" [IRC-\r\n   CLIENT]) when the <mask> parameter is specified.\r\n   The channel flags 'p' and 's' MUST NOT both be set at the same time.\r\n   If a MODE message originating from a server sets the flag 'p' and the\r\n   flag 's' is already set for the channel, the change is silently\r\n   ignored.  This should only happen during a split healing phase\r\n   (mentioned in the \"IRC Server Protocol\" document [IRC-SERVER]).\r\n\r\n\r\n\r\n\r\nIf this is to be expected, please close without further notice. Thank you!"}}
{"actor":{"display_login":"slingamn"}}