make other threads exit if there's an error in one
@@ -198,6 +198,7 @@ func (irc *Connection) Loop() {
errChan := irc.ErrorChan()
for !irc.isQuitting() {
err := <-errChan
close(irc.end)
irc.Wait()
irc.Log.Printf("Error, disconnected: %s\n", err)
The note is not visible to the blocked user.