From b73cc42bde7763e91c0fb4df34d1fe04026d1ab2 Mon Sep 17 00:00:00 2001 From: Thomas Jager Date: Wed, 18 Jun 2014 15:59:07 +0200 Subject: [PATCH] Remove Disconnect() from Quit(). Use ERROR feedback from server instead. --- irc.go | 1 - 1 file changed, 1 deletion(-) diff --git a/irc.go b/irc.go index a7040e1..a8fd459 100644 --- a/irc.go +++ b/irc.go @@ -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.