From 221624ad01da6df33b6aa81c3cbd42cc380ac45d Mon Sep 17 00:00:00 2001 From: Spencer Rinehart Date: Thu, 18 Dec 2008 15:41:51 -0500 Subject: markov: Only work with unreplied messages. --- data/rbot/plugins/markov.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') 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 -- cgit v1.2.3