]> git.cworth.org Git - sup/commitdiff
bugfix
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 4 Jan 2007 02:42:47 +0000 (02:42 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 4 Jan 2007 02:42:47 +0000 (02:42 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@167 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/modes/reply-mode.rb

index bbcb727b8193868c8b1f5c7d82dc7f8b57855b95..5488a0d5db352a7022040bd7be1e2b7db814f727 100644 (file)
@@ -22,7 +22,7 @@ class ReplyMode < EditMessageMode
       if @m.recipient_email
         AccountManager.account_for(@m.recipient_email)
       else
-        (@m.to + @m.cc).argfind { |p| AccountManager.is_account? p }
+        (@m.to + @m.cc).find { |p| AccountManager.is_account? p }
       end || AccountManager.default_account
 
     from_email = @m.recipient_email || from.email