summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorJan Wikholm <jw@jw.fi>2008-03-24 23:14:48 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-03-24 22:30:20 +0100
commita62bd20f3f4bb57dfffe4db425ddd6b50a4c6787 (patch)
treea9a0629623f439508e09b49f945d88fc8ce639d9 /data/rbot
parent00e94aa9b086bdbc021095bff2d53ba2617b03e9 (diff)
* (reaction plugin) make rm recalculate chances of replies
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/reaction.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/reaction.rb b/data/rbot/plugins/reaction.rb
index 6f94fb7c..3e6dacda 100644
--- a/data/rbot/plugins/reaction.rb
+++ b/data/rbot/plugins/reaction.rb
@@ -89,6 +89,7 @@ class ::Reaction
def rm_reply(num)
@replies.delete_at(num-1)
+ make_ranges
return @raw_replies.delete_at(num-1)
end