mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-14 16:04:38 +01:00
fix return expiry
This commit is contained in:
@@ -127,12 +127,7 @@ func (s *Session) makeSignInResp(uid int) []byte {
|
|||||||
bf.WriteUint16(0x0001)
|
bf.WriteUint16(0x0001)
|
||||||
bf.WriteUint16(0x4E20)
|
bf.WriteUint16(0x4E20)
|
||||||
ps.Uint16(bf, "", false) // unk ipv4
|
ps.Uint16(bf, "", false) // unk ipv4
|
||||||
if returnExpiry.Before(time.Now()) {
|
bf.WriteUint32(uint32(returnExpiry.Unix()))
|
||||||
// Hack to make Return work while having a non-adjusted expiry
|
|
||||||
bf.WriteUint32(0)
|
|
||||||
} else {
|
|
||||||
bf.WriteUint32(uint32(returnExpiry.Unix()))
|
|
||||||
}
|
|
||||||
bf.WriteUint32(0x00000000)
|
bf.WriteUint32(0x00000000)
|
||||||
bf.WriteUint32(0x0A5197DF) // unk id
|
bf.WriteUint32(0x0A5197DF) // unk id
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user