From ca17e58b3a953071aeb87309731b0755f470ab44 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sat, 31 Aug 2019 21:29:23 -0400 Subject: [PATCH] fix #595 --- irc/config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/irc/config.go b/irc/config.go index 741071ef..c01bffca 100644 --- a/irc/config.go +++ b/irc/config.go @@ -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