mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-15 00:19:29 +01:00
Merge pull request #2008 from slingamn/chathistory_isupport
fix CHATHISTORY 005 token name
This commit is contained in:
commit
a5983a1bd1
@ -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
@ -1 +1 @@
|
|||||||
Subproject commit dbdadec6770a47e8a70578b8b7d8b61879bd9cb7
|
Subproject commit 35d342a478f8ddc7d6b9ba7b2e55f769c60478d1
|
Loading…
Reference in New Issue
Block a user