ソースを参照

fix #595

tags/v1.2.0-rc1
Shivaram Lingamneni 4年前
コミット
ca17e58b3a
1個のファイルの変更4行の追加0行の削除
  1. 4
    0
      irc/config.go

+ 4
- 0
irc/config.go ファイルの表示

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

読み込み中…
キャンセル
保存