3
0
mirror of https://github.com/ergochat/ergo.git synced 2025-04-04 23:08:06 +02:00

add SAFERATE to 005

See discussion at https://github.com/ircv3/ircv3-specifications/pull/556
This commit is contained in:
Shivaram Lingamneni 2025-03-06 13:30:17 -05:00
parent 4ced4ef328
commit 23b65e225b

View File

@ -1696,6 +1696,7 @@ func (config *Config) generateISupport() (err error) {
isupport.Add("RPUSER", "E")
}
isupport.Add("SAFELIST", "")
isupport.Add("SAFERATE", "")
isupport.Add("STATUSMSG", "~&@%+")
isupport.Add("TARGMAX", fmt.Sprintf("NAMES:1,LIST:1,KICK:,WHOIS:1,USERHOST:10,PRIVMSG:%s,TAGMSG:%s,NOTICE:%s,MONITOR:%d", maxTargetsString, maxTargetsString, maxTargetsString, config.Limits.MonitorEntries))
isupport.Add("TOPICLEN", strconv.Itoa(config.Limits.TopicLen))