mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
make unix domain socket permissions configurable
This commit is contained in:
parent
831969f1f0
commit
c3d197f4ff
4 changed files with 18 additions and 8 deletions
|
|
@ -255,7 +255,7 @@ func schemaChangeV2ToV3(config *Config, tx *buntdb.Tx) error {
|
|||
}
|
||||
|
||||
// explicitly store the channel modes
|
||||
defaultModes := ParseDefaultChannelModes(config.Channels.RawDefaultModes)
|
||||
defaultModes := config.Channels.defaultModes
|
||||
modeStrings := make([]string, len(defaultModes))
|
||||
for i, mode := range defaultModes {
|
||||
modeStrings[i] = string(mode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue