mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
clean up redundant caching
This commit is contained in:
parent
54b17b0700
commit
4ab1a10eec
2 changed files with 8 additions and 13 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue