From 36976f59d0b6db12f49bfc6d84560395f57690e4 Mon Sep 17 00:00:00 2001 From: Alex Bramley Date: Sat, 19 Dec 2009 13:44:36 +0000 Subject: [PATCH] time.Sleep() requires forced int64 type --- irc/connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/connection.go b/irc/connection.go index 8beeea2..52800ae 100644 --- a/irc/connection.go +++ b/irc/connection.go @@ -135,7 +135,7 @@ func (conn *Conn) send() { // but if there's a *lot* of flood, conn.out may fill it's buffers and // cause other things to hang within runloop :-( if !conn.Flood { - time.Sleep(2*1000000000 + len(line)*8333333) + time.Sleep(int64(2*1000000000 + len(line)*8333333)) } } }