diff options
author | Spencer Rinehart <anubis@overthemonkey.com> | 2008-12-18 15:41:51 -0500 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-02-25 21:41:26 +0100 |
commit | 221624ad01da6df33b6aa81c3cbd42cc380ac45d (patch) | |
tree | 8b885b63ee58421655c5f1c7b2c6b263efcfbe15 | |
parent | b840a254c1ca755123d4b02907ee27c08a6a4ec9 (diff) |
markov: Only work with unreplied messages.
-rw-r--r-- | data/rbot/plugins/markov.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/markov.rb b/data/rbot/plugins/markov.rb index 9da95af0..e85664f3 100644 --- a/data/rbot/plugins/markov.rb +++ b/data/rbot/plugins/markov.rb @@ -254,7 +254,7 @@ class MarkovPlugin < Plugin lines.each { |l| @learning_queue.push l } end - def message(m) + def unreplied(m) return if ignore? m # in channel message, the kind we are interested in |