fix bad fix

This commit is contained in:
Ward Wouts 2003-04-24 07:43:21 +00:00
parent 096aedc95a
commit 90708eb667

View file

@ -1,6 +1,6 @@
################################# #################################
# #
# $Dwarf: article.rb,v 1.62 2003/04/22 21:30:07 ward Exp $ # $Dwarf: article.rb,v 1.63 2003/04/24 07:26:41 ward Exp $
# $Source$ # $Source$
# #
# article.rb # article.rb
@ -97,7 +97,7 @@ def get_articles(cachedir=false)
print " First: #{first}\n" print " First: #{first}\n"
print " Last: #{last}\n" print " Last: #{last}\n"
# clean up old newsrc entries # clean up old newsrc entries
if @connections[server]["first"] > 0 if @connections[server]["first"].to_i > 0
@connections[server]["newsrc"].unmark_range(@group, 0, (@connections[server]["first"].to_i-1).to_s) @connections[server]["newsrc"].unmark_range(@group, 0, (@connections[server]["first"].to_i-1).to_s)
@connections[server]["newsrc"].save @connections[server]["newsrc"].save
end end