Skip to content

Commit 726d997

Browse files
authored
advertise SAFELIST (#2196)
LIST is implemented via blocking (*ResponseBuffer).Send, so it can never exceed the sendq limit.
1 parent 9577e87 commit 726d997

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

irc/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,6 +1656,7 @@ func (config *Config) generateISupport() (err error) {
16561656
isupport.Add("RPCHAN", "E")
16571657
isupport.Add("RPUSER", "E")
16581658
}
1659+
isupport.Add("SAFELIST", "")
16591660
isupport.Add("STATUSMSG", "~&@%+")
16601661
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))
16611662
isupport.Add("TOPICLEN", strconv.Itoa(config.Limits.TopicLen))

0 commit comments

Comments
 (0)