diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/pop.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/net/pop.rb b/lib/net/pop.rb index 82cc9a747b..0f3aa0d878 100644 --- a/lib/net/pop.rb +++ b/lib/net/pop.rb @@ -683,9 +683,8 @@ module Net end def set_all_uids #:nodoc: internal use only (called from POPMail#uidl) - command().uidl.each do |num, uid| - @mails.find {|m| m.number == num }.uid = uid - end + uidl = command().uidl + @mails.each {|m| m.uid = uidl[m.number] } end def logging(msg) |