mirror of
https://github.com/fluffle/goirc
synced 2025-05-22 23:43:20 +00:00
time.Sleep() requires forced int64 type
This commit is contained in:
parent
2942cf2093
commit
36976f59d0
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ func (conn *Conn) send() {
|
||||||
// but if there's a *lot* of flood, conn.out may fill it's buffers and
|
// but if there's a *lot* of flood, conn.out may fill it's buffers and
|
||||||
// cause other things to hang within runloop :-(
|
// cause other things to hang within runloop :-(
|
||||||
if !conn.Flood {
|
if !conn.Flood {
|
||||||
time.Sleep(2*1000000000 + len(line)*8333333)
|
time.Sleep(int64(2*1000000000 + len(line)*8333333))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue