summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/reaction.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-20 13:58:21 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-20 13:58:21 +0000
commit6ef6b436240072f775f87687e38b880672262657 (patch)
tree16cad8d6554bda049cd5fd9225e48e541e6e8d85 /data/rbot/plugins/reaction.rb
parentaf0e4266eacd0d6df82b5dad0314fa0843ddff2f (diff)
reaction plugin: reply ranges were not being updated when adding a new reply
Diffstat (limited to 'data/rbot/plugins/reaction.rb')
-rw-r--r--data/rbot/plugins/reaction.rb3
1 files changed, 1 insertions, 2 deletions
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