Fixes against weekly.2012-02-22

Convert time/duration variables
Clean up duration math
This commit is contained in:
Michael Jard
2012-02-25 00:52:19 -08:00
parent 4e661a3954
commit a0256382be
3 changed files with 19 additions and 15 deletions

View File

@@ -4,7 +4,10 @@
package irc
import "net"
import (
"net"
"time"
)
type IRCConnection struct {
socket net.Conn
@@ -19,9 +22,9 @@ type IRCConnection struct {
Password string
events map[string][]func(*IRCEvent)
lastMessage int64
ticker <-chan int64
ticker2 <-chan int64
lastMessage time.Time
ticker <-chan time.Time
ticker2 <-chan time.Time
VerboseCallbackHandler bool