Reserve sign bit

pull/2561/head
Shelikhoo 5 years ago
parent 78d7b4f183
commit a58b20b5b8
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

@ -96,7 +96,11 @@ func (a *AuthIDDecoderHolder) Match(AuthID [16]byte) (interface{}, error) {
continue
}
if math.Abs(float64(t-time.Now().Unix())) > 120 {
if t < 0 {
continue
}
if math.Abs(math.Abs(float64(t))-float64(time.Now().Unix())) > 120 {
continue
}

Loading…
Cancel
Save