forked from External/ergo
fix #595
This commit is contained in:
parent
7ed27d4a42
commit
ca17e58b3a
1 changed files with 4 additions and 0 deletions
|
|
@ -669,6 +669,10 @@ func LoadConfig(filename string) (config *Config, err error) {
|
|||
config.Server.capValues[caps.MaxLine] = strconv.Itoa(config.Limits.LineLen.Rest)
|
||||
}
|
||||
|
||||
if !config.Accounts.Bouncer.Enabled {
|
||||
config.Server.supportedCaps.Disable(caps.Bouncer)
|
||||
}
|
||||
|
||||
var newLogConfigs []logger.LoggingConfig
|
||||
for _, logConfig := range config.Logging {
|
||||
// methods
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue