]> git.cworth.org Git - sup/commitdiff
yet another bugfix for labels
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 21 Feb 2007 03:33:52 +0000 (03:33 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 21 Feb 2007 03:33:52 +0000 (03:33 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@338 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/sent.rb

index 0761bbc1573264c3c656ad05d3c66493db4ed246..b28c08d108d9b3849f8a2773e1c6dc8c2f92efb2 100644 (file)
@@ -22,7 +22,7 @@ class SentManager
       yield f
     end
     @source.each do |offset, labels|
-      m = Message.new :source => @source, :source_info => offset, :labels => self.labels
+      m = Message.new :source => @source, :source_info => offset, :labels => @source.labels
       Index.add_message m
       UpdateManager.relay self, :add, m
     end