commit b4053ec462a0fefc2d89a859ed7ff3c24f981927
parent aa42404f63155b29fb148b10c72e222ad072efe0
Author: William Morgan <wmorgan-sup@masanjin.net>
Date: Thu, 24 Jan 2008 21:39:20 -0800
bugfix: rfc2047-encoded names shouldn't be saved (was email, should be name)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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