Parcourir la source

re-add draft/CHATHISTORY 005

Kiwi expects it due to https://github.com/kiwiirc/kiwiirc/pull/1244 , but
the corresponding spec change only altered the cap name, not the 005 name.
tags/v2.11.0-rc1
Shivaram Lingamneni il y a 1 an
Parent
révision
35b5613349
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2
    0
      irc/config.go

+ 2
- 0
irc/config.go Voir le fichier

@@ -1590,6 +1590,8 @@ func (config *Config) generateISupport() (err error) {
1590 1590
 	isupport.Add("CHANMODES", chanmodesToken)
1591 1591
 	if config.History.Enabled && config.History.ChathistoryMax > 0 {
1592 1592
 		isupport.Add("CHATHISTORY", strconv.Itoa(config.History.ChathistoryMax))
1593
+		// Kiwi expects this legacy token name:
1594
+		isupport.Add("draft/CHATHISTORY", strconv.Itoa(config.History.ChathistoryMax))
1593 1595
 	}
1594 1596
 	isupport.Add("CHANNELLEN", strconv.Itoa(config.Limits.ChannelLen))
1595 1597
 	isupport.Add("CHANTYPES", chanTypes)

Chargement…
Annuler
Enregistrer