Store selected tab in the URL
This commit is contained in:
parent
b83efcbb9e
commit
cc743a837a
7 changed files with 44 additions and 15 deletions
2
irc.go
2
irc.go
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue