mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-29 21:29:27 -07:00
Merge pull request #2008 from slingamn/chathistory_isupport
fix CHATHISTORY 005 token name
This commit is contained in:
@@ -1589,7 +1589,7 @@ func (config *Config) generateISupport() (err error) {
|
|||||||
isupport.Add("CHANLIMIT", fmt.Sprintf("%s:%d", chanTypes, config.Channels.MaxChannelsPerClient))
|
isupport.Add("CHANLIMIT", fmt.Sprintf("%s:%d", chanTypes, config.Channels.MaxChannelsPerClient))
|
||||||
isupport.Add("CHANMODES", chanmodesToken)
|
isupport.Add("CHANMODES", chanmodesToken)
|
||||||
if config.History.Enabled && config.History.ChathistoryMax > 0 {
|
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("CHANNELLEN", strconv.Itoa(config.Limits.ChannelLen))
|
||||||
isupport.Add("CHANTYPES", chanTypes)
|
isupport.Add("CHANTYPES", chanTypes)
|
||||||
|
|||||||
2
irctest
2
irctest
Submodule irctest updated: dbdadec677...35d342a478
Reference in New Issue
Block a user