Use tls.DialWithDialer instead of tls.Client and remove irc.netsock

This commit is contained in:
Wesley Dawson
2014-08-13 18:35:37 -07:00
parent 40cfe292a9
commit 30608bd31c
2 changed files with 5 additions and 11 deletions

View File

@@ -24,10 +24,9 @@ type Connection struct {
PingFreq time.Duration
KeepAlive time.Duration
socket net.Conn
netsock net.Conn
pwrite chan string
end chan struct{}
socket net.Conn
pwrite chan string
end chan struct{}
nick string //The nickname we want.
nickcurrent string //The nickname we currently have.