mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
modes: use secret instead of private, it's the standard these days. fix secret channel hiding in whois
This commit is contained in:
parent
a715882a75
commit
8b79662f1a
4 changed files with 15 additions and 12 deletions
|
|
@ -82,9 +82,8 @@ const (
|
|||
NoOutside ChannelMode = 'n' // flag
|
||||
OpOnlyTopic ChannelMode = 't' // flag
|
||||
Persistent ChannelMode = 'P' // flag
|
||||
Private ChannelMode = 'p' // flag
|
||||
ReOp ChannelMode = 'r' // flag
|
||||
Secret ChannelMode = 's' // flag, deprecated
|
||||
Secret ChannelMode = 's' // flag
|
||||
Theater ChannelMode = 'T' // flag, nonstandard
|
||||
UserLimit ChannelMode = 'l' // flag arg
|
||||
)
|
||||
|
|
@ -92,7 +91,7 @@ const (
|
|||
var (
|
||||
SupportedChannelModes = ChannelModes{
|
||||
BanMask, ExceptMask, InviteMask, InviteOnly, Key, NoOutside,
|
||||
OpOnlyTopic, Persistent, Private, Theater, UserLimit,
|
||||
OpOnlyTopic, Persistent, Secret, Theater, UserLimit,
|
||||
}
|
||||
|
||||
// ChannelPrivModes holds the list of modes that are privileged, ie founder/op/halfop, in order.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue