commit 317f8b241db4d623affda7dcc9ad4d4808419c28
parent c53307bdc13a642ccaa90981a503ca7d74e7693a
Author: Eric Sherman <hyperbolist@gmail.com>
Date: Thu, 31 Dec 2009 01:43:43 -0500
fixed a typo in parse_header
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/message.rb b/lib/sup/message.rb
@@ -117,7 +117,7 @@ class Message
@list_address = if header["list-post"]
address = if header["list-post"] =~ /mailto:(.*?)[>\s$]/
$1
- elsif list-post =~ /@/
+ elsif header["list-post"] =~ /@/
header["list-post"] # just try the whole fucking thing
end
address && Person.from_address(address)