Skip to content

Commit

Permalink
Fix IRC notification to use .Quit() instead of .Disconnect()
Browse files Browse the repository at this point in the history
  • Loading branch information
AmandaCameron committed Dec 13, 2014
1 parent 1236d44 commit 74f574f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/notify/irc/irc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 74f574f

Please sign in to comment.