aboutsummaryrefslogtreecommitdiff
path: root/commands/cd.go
diff options
context:
space:
mode:
authorMartin Hafskjold Thoresen <git@mht.wtf>2019-06-18 00:32:57 +0200
committerDrew DeVault <sir@cmpwn.com>2019-06-18 19:39:42 -0400
commit53df15ae06214b2c2e4aa176f125093334c8c0f9 (patch)
tree467eda5ee92bb2074ca03a3dd35c1c458f18cdbb /commands/cd.go
parent74af57b6c617382ed0e8cd79626cac98ffc2e549 (diff)
Insert nil check before handling prev/next message
If these are called before the store is setup, `acct.Store()` returns `nil`, and we SEGFAULT in `MessageStore.nextPrev`.
Diffstat (limited to 'commands/cd.go')
0 files changed, 0 insertions, 0 deletions