]> git.cworth.org Git - sup/commitdiff
fixed bug i introduced in the last few commits
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Tue, 22 May 2007 18:28:00 +0000 (18:28 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Tue, 22 May 2007 18:28:00 +0000 (18:28 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@410 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/index.rb

index 524a1de74ea28b7c74eb6c665bc5902831f6f4fb..2998c9b00aad0f64ac03d7924217c7d99ee9297a 100644 (file)
@@ -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(" ")