1
0
Fork 0
forked from External/ergo

channel: Fix +m (moderated) and +R (registeredonly) channel modes, add note about opers overriding +m/+R

This commit is contained in:
Daniel Oaks 2017-10-01 15:14:32 +10:00
parent b850a6c1d9
commit e3a0387cf5
2 changed files with 4 additions and 2 deletions

View file

@ -142,8 +142,8 @@ var (
// SupportedChannelModes are the channel modes that we support.
SupportedChannelModes = Modes{
BanMask, ExceptMask, InviteMask, InviteOnly, Key, NoOutside,
OpOnlyTopic, Secret, UserLimit, ChanRoleplaying,
BanMask, ChanRoleplaying, ExceptMask, InviteMask, InviteOnly, Key,
Moderated, NoOutside, OpOnlyTopic, RegisteredOnly, Secret, UserLimit,
}
// supportedChannelModesString acts as a cache for when we introduce users
supportedChannelModesString = SupportedChannelModes.String()