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

Merge pull request #2223 from slingamn/saferate

add SAFERATE to 005
This commit is contained in:
Shivaram Lingamneni 2025-03-09 21:41:24 -04:00 committed by GitHub
commit f3e24c7bdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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))