From e40f550af8af80a839ef87fe06f94ccf5e13bfdc Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 30 Nov 2022 04:10:47 -0500 Subject: [PATCH] fix CHATHISTORY 005 token name Unclear where we got draft/CHATHISTORY from, it looks like the merged drafts have always used unprefixed CHATHISTORY as the token name. --- irc/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/config.go b/irc/config.go index 9e9cb877..c856f6a5 100644 --- a/irc/config.go +++ b/irc/config.go @@ -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)