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