summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorVoker57 <voker57@gmail.com>2009-12-16 12:39:18 +0300
committerVoker57 <voker57@gmail.com>2010-01-26 00:41:07 +0300
commitc87ce00ad85418741f2dea836cc3fcb12efdb5e7 (patch)
tree1d4d42d66487645868b6caad8162be88ec522364 /data/rbot/plugins
parent2f56e7b2cb9b4b4d2fef396024740b5be6bd5101 (diff)
markov: learn message after maybe replying to it.
Diffstat (limited to 'data/rbot/plugins')
-rwxr-xr-xdata/rbot/plugins/markov.rb2
1 files changed, 1 insertions, 1 deletions
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