1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-12 17:10:54 +00:00

are we a victim of rounding?

This commit is contained in:
Kane York 2015-11-16 14:58:42 -08:00
parent c63a93679b
commit 30bc90b152

View file

@ -106,7 +106,7 @@ func C2SHello(conn *websocket.Conn, client *ClientInfo, msg ClientMessage) (rmsg
SubscribeDefaults(client)
if client.Version.After(&lastVersionWithoutReplyWithServerTime) {
jsTime := float64(time.Now().UnixNano()) / (1000 * 1000)
jsTime := float64(time.Now().UnixNano() / 1000) / 1000
return ClientMessage{
Arguments: []interface{}{
client.ClientID.String(),