lib/imap/backup/configuration/account.rb in imap-backup-4.0.4 vs lib/imap/backup/configuration/account.rb in imap-backup-4.0.5
- old
+ new
@@ -146,10 +146,10 @@
end
def default_server(username)
provider = Email::Provider.for_address(username)
- if provider.is_a?(Email::Provider::Default)
+ if provider.is_a?(Email::Provider::Unknown)
Kernel.puts "Can't decide provider for email address '#{username}'"
return nil
end
provider.host