From b4053ec462a0fefc2d89a859ed7ff3c24f981927 Mon Sep 17 00:00:00 2001 From: William Morgan Date: Thu, 24 Jan 2008 21:39:20 -0800 Subject: [PATCH] bugfix: rfc2047-encoded names shouldn't be saved (was email, should be name) --- lib/sup/person.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sup/person.rb b/lib/sup/person.rb index 5bd15a8..0e58534 100644 --- a/lib/sup/person.rb +++ b/lib/sup/person.rb @@ -21,7 +21,7 @@ class PersonManager File.open(@fn, "w") do |f| @@people.each do |email, p| next if p.email == p.name - next if p.email =~ /=/ # drop rfc2047-encoded, and lots of other useless emails. definitely a heuristic. + next if p.name =~ /=/ # drop rfc2047-encoded, and lots of other useless emails. definitely a heuristic. f.puts "#{p.email}: #{p.timestamp} #{p.name}" end end -- 2.45.2