1
0
Fork 0
forked from External/ergo

make default channel modes configurable

This commit is contained in:
Shivaram Lingamneni 2017-09-06 17:34:38 -04:00
parent a50e68af4d
commit 333afe1062
5 changed files with 32 additions and 1 deletions

View file

@ -57,7 +57,7 @@ func NewChannel(s *Server, name string, addDefaultModes bool) *Channel {
}
if addDefaultModes {
for _, mode := range DefaultChannelModes {
for _, mode := range s.defaultChannelModes {
channel.flags[mode] = true
}
}