diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-09-19 20:45:35 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-09-19 20:45:35 +0000 |
commit | 3623ada6d5b3bb0e0f986ab7d6811d5b0ff70e62 (patch) | |
tree | eed3a8a5b81aa18ddd5f9eddd371d4cd220a9ede /data | |
parent | 691a1facca9ed3e9bdc8e5cbbfb4a48f3354d2e2 (diff) |
reaction plugin: only react to unreplied messages
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/reaction.rb | 2 |
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? |