summaryrefslogtreecommitdiffstats
path: root/lib/redmine/imap.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine/imap.rb')
-rw-r--r--lib/redmine/imap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/imap.rb b/lib/redmine/imap.rb
index cc8dcb376..79e61eb52 100644
--- a/lib/redmine/imap.rb
+++ b/lib/redmine/imap.rb
@@ -29,7 +29,7 @@ module Redmine
starttls = !imap_options[:starttls].nil?
folder = imap_options[:folder] || 'INBOX'
- imap = Net::IMAP.new(host, port, ssl)
+ imap = Net::IMAP.new(host, port: port, ssl: ssl)
if starttls
imap.starttls
end