Skip to content

Commit

Permalink
Merge pull request #2008 from slingamn/chathistory_isupport
Browse files Browse the repository at this point in the history
fix CHATHISTORY 005 token name
  • Loading branch information
slingamn authored Nov 30, 2022
2 parents e20c983 + ebda5e6 commit a5983a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion irc/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a5983a1

Please sign in to comment.