diff options
Diffstat (limited to 'commands/account/check-mail.go')
-rw-r--r-- | commands/account/check-mail.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/account/check-mail.go b/commands/account/check-mail.go index 2b6a06f9..a8d80a66 100644 --- a/commands/account/check-mail.go +++ b/commands/account/check-mail.go @@ -16,12 +16,12 @@ func (CheckMail) Aliases() []string { return []string{"check-mail"} } -func (CheckMail) Complete(aerc *app.Aerc, args []string) []string { +func (CheckMail) Complete(args []string) []string { return nil } -func (CheckMail) Execute(aerc *app.Aerc, args []string) error { - acct := aerc.SelectedAccount() +func (CheckMail) Execute(args []string) error { + acct := app.SelectedAccount() if acct == nil { return errors.New("No account selected") } |