From c87ce00ad85418741f2dea836cc3fcb12efdb5e7 Mon Sep 17 00:00:00 2001 From: Voker57 Date: Wed, 16 Dec 2009 12:39:18 +0300 Subject: markov: learn message after maybe replying to it. --- data/rbot/plugins/markov.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/rbot/plugins/markov.rb b/data/rbot/plugins/markov.rb index b543e5f4..e8ddee49 100755 --- a/data/rbot/plugins/markov.rb +++ b/data/rbot/plugins/markov.rb @@ -598,8 +598,8 @@ class MarkovPlugin < Plugin message = "#{m.sourcenick} #{message}" end - learn message random_markov(m, message) unless readonly? m or m.replied? + learn message end -- cgit v1.2.3