Browse Source

fix #595

tags/v1.2.0-rc1
Shivaram Lingamneni 4 years ago
parent
commit
ca17e58b3a
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      irc/config.go

+ 4
- 0
irc/config.go View File

@@ -669,6 +669,10 @@ func LoadConfig(filename string) (config *Config, err error) {
669 669
 		config.Server.capValues[caps.MaxLine] = strconv.Itoa(config.Limits.LineLen.Rest)
670 670
 	}
671 671
 
672
+	if !config.Accounts.Bouncer.Enabled {
673
+		config.Server.supportedCaps.Disable(caps.Bouncer)
674
+	}
675
+
672 676
 	var newLogConfigs []logger.LoggingConfig
673 677
 	for _, logConfig := range config.Logging {
674 678
 		// methods

Loading…
Cancel
Save