Follow up to #1963 - changed default behaviour back to only disable ssl if ssl param is explicit false to keep backward compatibility of old channel settings.

This commit is contained in:
Martin Edenhofer 2018-04-25 09:42:10 +02:00
parent 54eab60f6e
commit 43c38dcd97

View file

@ -70,7 +70,10 @@ example
keep_on_server = true
end
ssl = options.key?(:ssl) && options[:ssl] == true
if options.key?(:ssl) && options[:ssl] == false
ssl = false
port = 143
end
port = if options.key?(:port) && options[:port].present?
options[:port].to_i