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.AddCallback("001", func(_ *irc.Event) {
client.Notice(channel, message) client.Notice(channel, message)
client.Disconnect() client.Quit()
}) })
go client.Loop() go client.Loop()