sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit bfb90451e9ca5c4a1669934fe7e9641341ba89f7
parent afd6392d0c0dbdbf3228cffa1fcbc7cac568a06f
Author: Gaute Hope <eg@gaute.vetsj.com>
Date:   Sun, 11 Aug 2013 11:53:42 +0200

Merge #119

Diffstat:
M lib/sup/account.rb | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/sup/account.rb b/lib/sup/account.rb
@@ -50,6 +50,7 @@ class AccountManager
       [: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 }