Skip to content

Commit

Permalink
advertise SAFELIST (#2196)
Browse files Browse the repository at this point in the history
LIST is implemented via blocking (*ResponseBuffer).Send, so it can never
exceed the sendq limit.
  • Loading branch information
slingamn authored Oct 6, 2024
1 parent 9577e87 commit 726d997
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions irc/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1656,6 +1656,7 @@ func (config *Config) generateISupport() (err error) {
isupport.Add("RPCHAN", "E")
isupport.Add("RPUSER", "E")
}
isupport.Add("SAFELIST", "")
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))
Expand Down

0 comments on commit 726d997

Please sign in to comment.