From e40f550af8af80a839ef87fe06f94ccf5e13bfdc Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 30 Nov 2022 04:10:47 -0500 Subject: [PATCH 1/2] 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 9e9cb8778..c856f6a52 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) From ebda5e6d9a7cb902ad146c6c1753471d2d08b67d Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 30 Nov 2022 04:13:04 -0500 Subject: [PATCH 2/2] bump irctest --- irctest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irctest b/irctest index dbdadec67..35d342a47 160000 --- a/irctest +++ b/irctest @@ -1 +1 @@ -Subproject commit dbdadec6770a47e8a70578b8b7d8b61879bd9cb7 +Subproject commit 35d342a478f8ddc7d6b9ba7b2e55f769c60478d1