Browse Source

Merge pull request #825 from slingamn/issue812.1

partial fix for #812
tags/v2.0.0-rc1
Shivaram Lingamneni 4 years ago
parent
commit
013a290147
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      irc/accounts.go

+ 1
- 1
irc/accounts.go View File

@@ -559,7 +559,7 @@ func (am *AccountManager) loadLastSignoff(account string) (lastSignoff time.Time
559 559
 		return nil
560 560
 	})
561 561
 	lsNum, err := strconv.ParseInt(lsText, 10, 64)
562
-	if err != nil {
562
+	if err == nil {
563 563
 		return time.Unix(0, lsNum).UTC()
564 564
 	}
565 565
 	return

Loading…
Cancel
Save