about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarkus Ongyerth <aerc@ongy.net>2018-06-12 12:16:23 +0200
committerDrew DeVault <sir@cmpwn.com>2018-06-12 09:49:38 -0400
commit67d14977fa91a56509d8ddde54607b4b7811d3fe (patch)
treeb49c2a252394fc6029115a21e553e5450c63b2e8
parentdc90be24de569a6de1222c6ebbc659814a49d0a2 (diff)
downloadaerc-67d14977fa91a56509d8ddde54607b4b7811d3fe.tar.gz
fallthrough in worker selection
-rw-r--r--worker/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/worker.go b/worker/worker.go
index 439ab64..be4c520 100644
--- a/worker/worker.go
+++ b/worker/worker.go
@@ -22,7 +22,7 @@ func NewWorker(source string, logger *log.Logger) (*types.Worker, error) {
 		Logger:    logger,
 	}
 	switch u.Scheme {
-	case "imap":
+	case "imap": fallthrough;
 	case "imaps":
 		worker.Backend = imap.NewIMAPWorker(worker)
 	default: