diff --git a/internal/cmd/mail_queue.go b/internal/cmd/mail_queue.go index 0ad4a141..887e689e 100644 --- a/internal/cmd/mail_queue.go +++ b/internal/cmd/mail_queue.go @@ -35,7 +35,7 @@ func runMailClaim(cmd *cobra.Command, args []string) error { } queueCfg, ok := cfg.Queues[queueName] - if !ok || queueCfg == nil { + if !ok { return fmt.Errorf("unknown queue: %s", queueName) }