From: Giuseppe Bilotta Date: Thu, 20 Sep 2007 13:58:21 +0000 (+0000) Subject: reaction plugin: reply ranges were not being updated when adding a new reply X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=6ef6b436240072f775f87687e38b880672262657;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git reaction plugin: reply ranges were not being updated when adding a new reply --- diff --git a/data/rbot/plugins/reaction.rb b/data/rbot/plugins/reaction.rb index d495887d..9150d23e 100644 --- a/data/rbot/plugins/reaction.rb +++ b/data/rbot/plugins/reaction.rb @@ -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