diff options
Diffstat (limited to 'plugins/base')
-rwxr-xr-x | plugins/base/imap.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/imap.go b/plugins/base/imap.go index 1ffa774..5de5735 100755 --- a/plugins/base/imap.go +++ b/plugins/base/imap.go @@ -289,7 +289,7 @@ func searchCriteriaHeader(k, v string) *imap.SearchCriteria { } } -func searchCriteriaOr(criteria... *imap.SearchCriteria) *imap.SearchCriteria { +func searchCriteriaOr(criteria ...*imap.SearchCriteria) *imap.SearchCriteria { or := criteria[0] for _, c := range criteria[1:] { or = &imap.SearchCriteria{ |