瀏覽代碼

Merge pull request #2009 from slingamn/both_005s

re-add draft/CHATHISTORY 005
tags/v2.11.0-rc1
Shivaram Lingamneni 1 年之前
父節點
當前提交
f665525735
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      irc/config.go

+ 2
- 0
irc/config.go 查看文件

@@ -1590,6 +1590,8 @@ func (config *Config) generateISupport() (err error) {
1590 1590
 	isupport.Add("CHANMODES", chanmodesToken)
1591 1591
 	if config.History.Enabled && config.History.ChathistoryMax > 0 {
1592 1592
 		isupport.Add("CHATHISTORY", strconv.Itoa(config.History.ChathistoryMax))
1593
+		// Kiwi expects this legacy token name:
1594
+		isupport.Add("draft/CHATHISTORY", strconv.Itoa(config.History.ChathistoryMax))
1593 1595
 	}
1594 1596
 	isupport.Add("CHANNELLEN", strconv.Itoa(config.Limits.ChannelLen))
1595 1597
 	isupport.Add("CHANTYPES", chanTypes)

Loading…
取消
儲存