Browse Source

Merge pull request #2008 from slingamn/chathistory_isupport

fix CHATHISTORY 005 token name
tags/v2.11.0-rc1
Shivaram Lingamneni 1 year ago
parent
commit
a5983a1bd1
No account linked to committer's email address
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      irc/config.go
  2. 1
    1
      irctest

+ 1
- 1
irc/config.go View File

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

+ 1
- 1
irctest

@@ -1 +1 @@
1
-Subproject commit dbdadec6770a47e8a70578b8b7d8b61879bd9cb7
1
+Subproject commit 35d342a478f8ddc7d6b9ba7b2e55f769c60478d1

Loading…
Cancel
Save