Browse Source

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.
tags/v2.11.0-rc1
Shivaram Lingamneni 1 year ago
parent
commit
e40f550af8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      irc/config.go

+ 1
- 1
irc/config.go View File

1589
 	isupport.Add("CHANLIMIT", fmt.Sprintf("%s:%d", chanTypes, config.Channels.MaxChannelsPerClient))
1589
 	isupport.Add("CHANLIMIT", fmt.Sprintf("%s:%d", chanTypes, config.Channels.MaxChannelsPerClient))
1590
 	isupport.Add("CHANMODES", chanmodesToken)
1590
 	isupport.Add("CHANMODES", chanmodesToken)
1591
 	if config.History.Enabled && config.History.ChathistoryMax > 0 {
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
 	isupport.Add("CHANNELLEN", strconv.Itoa(config.Limits.ChannelLen))
1594
 	isupport.Add("CHANNELLEN", strconv.Itoa(config.Limits.ChannelLen))
1595
 	isupport.Add("CHANTYPES", chanTypes)
1595
 	isupport.Add("CHANTYPES", chanTypes)

Loading…
Cancel
Save