From 1c917a19a7fd5a6cf9bd31bd8edc9720cac5b63a Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Mon, 17 Apr 2017 23:05:47 +1000 Subject: [PATCH] client: Ensure ERROR message is parsed when quitting --- irc/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/irc/client.go b/irc/client.go index 684a65dc..ca986273 100644 --- a/irc/client.go +++ b/irc/client.go @@ -438,6 +438,7 @@ func (client *Client) Quit(message string) { if !client.quitMessageSent { client.Send(nil, client.nickMaskString, "QUIT", message) client.Send(nil, "", "ERROR", message) + client.socket.Write("\r\n") client.quitMessageSent = true } }