clean up redundant caching

This commit is contained in:
Shivaram Lingamneni 2025-04-28 00:29:40 -04:00
parent 54b17b0700
commit 4ab1a10eec
2 changed files with 8 additions and 13 deletions

View file

@ -1730,7 +1730,7 @@ func (config *Config) generateISupport() (err error) {
}
isupport.Add("CASEMAPPING", casemappingToken)
isupport.Add("CHANLIMIT", fmt.Sprintf("%s:%d", chanTypes, config.Channels.MaxChannelsPerClient))
isupport.Add("CHANMODES", chanmodesToken)
isupport.Add("CHANMODES", modes.ChanmodesToken())
if config.History.Enabled && config.History.ChathistoryMax > 0 {
isupport.Add("CHATHISTORY", strconv.Itoa(config.History.ChathistoryMax))
// Kiwi expects this legacy token name: