summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-19 20:45:35 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-19 20:45:35 +0000
commit3623ada6d5b3bb0e0f986ab7d6811d5b0ff70e62 (patch)
treeeed3a8a5b81aa18ddd5f9eddd371d4cd220a9ede /data
parent691a1facca9ed3e9bdc8e5cbbfb4a48f3354d2e2 (diff)
reaction plugin: only react to unreplied messages
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/reaction.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/reaction.rb b/data/rbot/plugins/reaction.rb
index 9b0d546a..bce50c36 100644
--- a/data/rbot/plugins/reaction.rb
+++ b/data/rbot/plugins/reaction.rb
@@ -121,7 +121,7 @@ class ReactionPlugin < Plugin
end
end
- def listen(m)
+ def unreplied(m)
return unless PrivMessage === m
debug "testing #{m} for reactions"
return if @reactions.empty?