forked from lug/matterbridge
Update dependencies and build to go1.22 (#2113)
* Update dependencies and build to go1.22 * Fix api changes wrt to dependencies * Update golangci config
This commit is contained in:
6
vendor/github.com/lrstanley/girc/client.go
generated
vendored
6
vendor/github.com/lrstanley/girc/client.go
generated
vendored
@@ -312,11 +312,7 @@ func New(config Config) *Client {
|
||||
// the event can't be sent within 30s.
|
||||
func (c *Client) receive(e *Event) {
|
||||
t := time.NewTimer(30 * time.Second)
|
||||
defer func() {
|
||||
if !t.Stop() {
|
||||
<-t.C
|
||||
}
|
||||
}()
|
||||
defer t.Stop()
|
||||
|
||||
select {
|
||||
case c.rx <- e:
|
||||
|
||||
Reference in New Issue
Block a user