From 1b0acb5f2f1b615cfbd4b9f91abb14cb39a18769 Mon Sep 17 00:00:00 2001 From: Thomas Jager Date: Thu, 8 Dec 2016 09:29:58 +0100 Subject: [PATCH] Fix double close of irc.end channel. --- irc.go | 1 - 1 file changed, 1 deletion(-) diff --git a/irc.go b/irc.go index 7820759..eb9174d 100644 --- a/irc.go +++ b/irc.go @@ -358,7 +358,6 @@ func (irc *Connection) Disconnect() { if irc.socket != nil { irc.socket.Close() } - close(irc.end) irc.ErrorChan() <- ErrDisconnected }