mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 18:52:41 +01:00
commit
013a290147
@ -559,7 +559,7 @@ func (am *AccountManager) loadLastSignoff(account string) (lastSignoff time.Time
|
||||
return nil
|
||||
})
|
||||
lsNum, err := strconv.ParseInt(lsText, 10, 64)
|
||||
if err != nil {
|
||||
if err == nil {
|
||||
return time.Unix(0, lsNum).UTC()
|
||||
}
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user