]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
reaction plugin: reply ranges were not being updated when adding a new reply
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 20 Sep 2007 13:58:21 +0000 (13:58 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 20 Sep 2007 13:58:21 +0000 (13:58 +0000)
data/rbot/plugins/reaction.rb

index d495887d71127cbc599de0401189751d3a2b2e30..9150d23ec2459829ad54c8693b0b6836eb89c3ce 100644 (file)
@@ -41,7 +41,6 @@ class ::Reaction
       self.author = author
       @date = date
       self.channel = channel
-      debug self
     end
 
     def to_s
@@ -80,7 +79,7 @@ class ::Reaction
       act = true
     end
     @replies << Reply.new(self, act ? :act : :reply, rex, *args)
-    debug @replies.last
+    make_ranges
     return @replies.last
   end