]> git.cworth.org Git - sup/commitdiff
fix a thread merging bug introduced by refactoring in 59f8fc2
authorAlex Vandiver <alex@chmrr.net>
Tue, 18 Aug 2009 18:30:00 +0000 (14:30 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Sat, 22 Aug 2009 14:49:30 +0000 (10:49 -0400)
Signed-off-by: Alex Vandiver <alex@chmrr.net>
lib/sup/thread.rb

index d395c3588f7274448dc86d2d784ee9021b29c3b0..3ff4e7f1a8b25a07fdd504edf4eb3057954156b2 100644 (file)
@@ -357,7 +357,7 @@ class ThreadSet
     return if threads.size < 2
 
     containers = threads.map do |t|
-      c = @messages.member?(c) ? @messages[t.first.id] : nil
+      c = @messages.member?(t.first.id) ? @messages[t.first.id] : nil
       raise "not in threadset: #{t.first.id}" unless c && c.message
       c
     end