Merge pull request #2008 from slingamn/chathistory_isupport

fix CHATHISTORY 005 token name
This commit is contained in:
Shivaram Lingamneni
2022-11-30 01:16:28 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -1589,7 +1589,7 @@ func (config *Config) generateISupport() (err error) {
isupport.Add("CHANLIMIT", fmt.Sprintf("%s:%d", chanTypes, config.Channels.MaxChannelsPerClient))
isupport.Add("CHANMODES", chanmodesToken)
if config.History.Enabled && config.History.ChathistoryMax > 0 {
isupport.Add("draft/CHATHISTORY", strconv.Itoa(config.History.ChathistoryMax))
isupport.Add("CHATHISTORY", strconv.Itoa(config.History.ChathistoryMax))
}
isupport.Add("CHANNELLEN", strconv.Itoa(config.Limits.ChannelLen))
isupport.Add("CHANTYPES", chanTypes)

Submodule irctest updated: dbdadec677...35d342a478