Started doing client-side routing, added some rewriting on the server to support it

This commit is contained in:
khlieng 2015-02-03 00:25:52 +01:00
parent eec82a7dd9
commit 0b8e97b215
6 changed files with 54 additions and 9 deletions

2
irc.go
View file

@ -94,7 +94,7 @@ func (i *IRC) Connect(address string) error {
}
i.Server = address
dialer := &net.Dialer{Timeout: 5 * time.Second}
dialer := &net.Dialer{Timeout: 10 * time.Second}
if i.TLS {
if i.TLSConfig == nil {