mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-17 03:45:13 +00:00
Fix IRC notification to use .Quit() instead of .Disconnect()
This commit is contained in:
parent
1236d44bfc
commit
74f574f864
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ func (i *IRC) send(channel string, message string) error {
|
|||
|
||||
client.AddCallback("001", func(_ *irc.Event) {
|
||||
client.Notice(channel, message)
|
||||
client.Disconnect()
|
||||
client.Quit()
|
||||
})
|
||||
|
||||
go client.Loop()
|
||||
|
|
Loading…
Reference in a new issue