From: wmorgan Date: Tue, 22 May 2007 18:28:00 +0000 (+0000) Subject: fixed bug i introduced in the last few commits X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=812baa090e0a280cac86c9a6e08e5fea3dafb020;p=sup fixed bug i introduced in the last few commits git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@410 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/lib/sup/index.rb b/lib/sup/index.rb index 524a1de..2998c9b 100644 --- a/lib/sup/index.rb +++ b/lib/sup/index.rb @@ -196,7 +196,7 @@ class Index break if opts[:limit] && messages.size >= opts[:limit] break if @index[docid][:label].split(/\s+/).include? "killed" unless opts[:load_killed] mid = @index[docid][:message_id] - unless id == mid || messages.member?(mid) + unless messages.member?(mid) Redwood::log "got #{mid} as a child of #{id}" messages[mid] ||= lambda { build_message docid } refs = @index[docid][:refs].split(" ")