From 32cee7464ff18525773ce4299f56be70e14824e3 Mon Sep 17 00:00:00 2001 From: soda Date: Sat, 21 Jun 2014 16:46:47 +0200 Subject: [PATCH] fix reconnect, make irc.end --- irc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/irc.go b/irc.go index 18590fe..2cc039e 100644 --- a/irc.go +++ b/irc.go @@ -302,6 +302,7 @@ func (irc *Connection) Disconnect() { // Reconnect to a server using the current connection. func (irc *Connection) Reconnect() error { + irc.end = make(chan struct{}) return irc.Connect(irc.server) }