lib/sup/account.rb in sup-0.14.0 vs lib/sup/account.rb in sup-0.14.1

- old
+ new

@@ -50,10 +50,10 @@ [:name, :sendmail, :signature, :gpgkey].each { |k| hash[k] ||= @default_account.send(k) } end hash[:alternates] ||= [] fail "alternative emails are not an array: #{hash[:alternates]}" unless hash[:alternates].kind_of? Array - [:name, :signature].each { |x| hash[x] ? hash[x].fix_encoding : nil } + [:name, :signature].each { |x| hash[x] ? hash[x].fix_encoding! : nil } a = Account.new hash @accounts[a] = true if default