fix reconnect, make irc.end

This commit is contained in:
soda committed 2014-06-21 16:46:47 +02:00
1 parent 809b9be4e4
commit 32cee7464f
1 file changed
+1
+1
View File
@@ -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)
}