From fb84910635f6e6d7d14bf510def6201b63284873 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Fri, 2 Dec 2022 01:30:46 -0500 Subject: [PATCH] re-add draft/CHATHISTORY 005 Kiwi expects it due to https://github.com/kiwiirc/kiwiirc/pull/1244 , but the corresponding spec change only altered the cap name, not the 005 name. --- irc/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/irc/config.go b/irc/config.go index 272ae0a7..9e8a86a3 100644 --- a/irc/config.go +++ b/irc/config.go @@ -1559,6 +1559,8 @@ func (config *Config) generateISupport() (err error) { isupport.Add("CHANMODES", chanmodesToken) if config.History.Enabled && config.History.ChathistoryMax > 0 { isupport.Add("CHATHISTORY", strconv.Itoa(config.History.ChathistoryMax)) + // Kiwi expects this legacy token name: + isupport.Add("draft/CHATHISTORY", strconv.Itoa(config.History.ChathistoryMax)) } isupport.Add("CHANNELLEN", strconv.Itoa(config.Limits.ChannelLen)) isupport.Add("CHANTYPES", chanTypes)