1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00

Fix IRC notification to use .Quit() instead of .Disconnect()

This commit is contained in:
Amanda Cameron 2014-12-13 10:23:44 -05:00
parent 1236d44bfc
commit 74f574f864

View File

@ -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()