Fix compile + bit more robust reconnect code

This commit is contained in:
tj
2010-09-23 18:54:34 +02:00
parent a557416dcf
commit 1165a7fbf2
4 changed files with 30 additions and 18 deletions

View File

@@ -10,19 +10,20 @@ import (
)
type IRCConnection struct {
socket net.Conn
pread, pwrite chan string
Error chan os.Error
nick string
user string
registered bool
server string
socket net.Conn
pread, pwrite chan string
Error chan os.Error
syncreader, syncwriter chan bool
nick string
user string
registered bool
server string
events map[string][]func(*IRCEvent)
lastMessage int64;
ticker <-chan int64;
ticker2 <-chan int64;
lastMessage int64
ticker <-chan int64
ticker2 <-chan int64
}
type IRCEvent struct {