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) }