Skip to content

Commit

Permalink
Merge pull request #1777 from ProgVal/targmax-kick
Browse files Browse the repository at this point in the history
Advertise support for multiple KICK targets
  • Loading branch information
slingamn committed Aug 13, 2021
2 parents 5d2d4a9 + f6f2503 commit 4785a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irc/config.go
Expand Up @@ -1588,7 +1588,7 @@ func (config *Config) generateISupport() (err error) {
isupport.Add("RPUSER", "E")
}
isupport.Add("STATUSMSG", "~&@%+")
isupport.Add("TARGMAX", fmt.Sprintf("NAMES:1,LIST:1,KICK:1,WHOIS:1,USERHOST:10,PRIVMSG:%s,TAGMSG:%s,NOTICE:%s,MONITOR:%d", maxTargetsString, maxTargetsString, maxTargetsString, config.Limits.MonitorEntries))
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))
if config.Server.Casemapping == CasemappingPRECIS {
isupport.Add("UTF8MAPPING", precisUTF8MappingToken)
Expand Down

0 comments on commit 4785a39

Please sign in to comment.