mirror of
https://github.com/harness/drone.git
synced 2025-05-11 22:50:11 +08:00
Fix IRC notification to use .Quit() instead of .Disconnect()
This commit is contained in:
parent
1236d44bfc
commit
74f574f864
@ -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 New Issue
Block a user