3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00
This commit is contained in:
Shivaram Lingamneni 2019-08-31 21:29:23 -04:00
parent 7ed27d4a42
commit ca17e58b3a

View File

@ -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