irc: skip gIRC built-in rate limiting

This commit is contained in:
James Lu
2020-06-23 22:13:52 -07:00
parent 2f0f2ee40d
commit d3997117e9

View File

@@ -250,6 +250,8 @@ func (b *Birc) getClient() (*girc.Client, error) {
SSL: b.GetBool("UseTLS"),
TLSConfig: &tls.Config{InsecureSkipVerify: b.GetBool("SkipTLSVerify"), ServerName: server}, //nolint:gosec
PingDelay: time.Minute,
// skip gIRC internal rate limiting, since we have our own throttling
AllowFlood: true,
})
return i, nil
}