mirror of
https://github.com/jeremyd/ergo.git
synced 2026-04-30 09:29:59 -07:00
modes: use secret instead of private, it's the standard these days. fix secret channel hiding in whois
This commit is contained in:
@@ -367,7 +367,7 @@ func (channel *Channel) applyMode(client *Client, change *ChannelModeChange) boo
|
||||
return channel.applyModeMask(client, change.mode, change.op,
|
||||
NewName(change.arg))
|
||||
|
||||
case InviteOnly, Moderated, NoOutside, OpOnlyTopic, Persistent, Private:
|
||||
case InviteOnly, Moderated, NoOutside, OpOnlyTopic, Persistent, Secret:
|
||||
return channel.applyModeFlag(client, change.mode, change.op)
|
||||
|
||||
case Key:
|
||||
|
||||
Reference in New Issue
Block a user