Browse Source

Merge pull request #2009 from slingamn/both_005s

re-add draft/CHATHISTORY 005
tags/v2.11.0-rc1
Shivaram Lingamneni 1 year ago
parent
commit
f665525735
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      irc/config.go

+ 2
- 0
irc/config.go View File

@@ -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…
Cancel
Save