From 23b65e225b65e175cfe176187fa22ba6afcc1207 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Thu, 6 Mar 2025 13:30:17 -0500 Subject: [PATCH] add SAFERATE to 005 See discussion at https://github.com/ircv3/ircv3-specifications/pull/556 --- irc/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/irc/config.go b/irc/config.go index a4b1fb6b..5b26cd5b 100644 --- a/irc/config.go +++ b/irc/config.go @@ -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))