Store selected tab in the URL

This commit is contained in:
khlieng 2015-02-22 08:57:52 +01:00
parent b83efcbb9e
commit cc743a837a
7 changed files with 44 additions and 15 deletions

2
irc.go
View file

@ -4,6 +4,7 @@ import (
"bufio"
"crypto/tls"
"fmt"
"log"
"net"
"strings"
"sync"
@ -236,6 +237,7 @@ func (i *IRC) recv() {
for {
line, err := i.reader.ReadString('\n')
if err != nil {
log.Println("IRC connection to", i.Server, "died")
return
}