Remove Disconnect() from Quit(). Use ERROR feedback from server instead.

This commit is contained in:
Thomas Jager 2014-06-18 15:59:07 +02:00
parent 14db1acfd0
commit b73cc42bde

1
irc.go
View File

@ -189,7 +189,6 @@ func (irc *Connection) Loop() {
func (irc *Connection) Quit() {
irc.SendRaw("QUIT")
irc.stopped = true
irc.Disconnect()
}
// Use the connection to join a given channel.