mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix t1 time format
This commit is contained in:
parent
421755d938
commit
c9784ffce8
@ -17,7 +17,7 @@ func T1(uin uint32, ip []byte) []byte {
|
|||||||
w.WriteUInt16(1)
|
w.WriteUInt16(1)
|
||||||
w.WriteUInt32(rand.Uint32())
|
w.WriteUInt32(rand.Uint32())
|
||||||
w.WriteUInt32(uin)
|
w.WriteUInt32(uin)
|
||||||
w.WriteUInt32(uint32(time.Now().UnixNano() / 1e6))
|
w.WriteUInt32(uint32(time.Now().Unix()))
|
||||||
w.Write(ip)
|
w.Write(ip)
|
||||||
w.WriteUInt16(0)
|
w.WriteUInt16(0)
|
||||||
w.WriteUInt16At(pos, uint16(w.Len()-4))
|
w.WriteUInt16At(pos, uint16(w.Len()-4))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user