summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-06-25 23:01:29 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-06-25 23:01:29 +0200
commit3c91cc9598b1fab93afce1ff94bdfad5c0e79c05 (patch)
tree25e8a041990e5df2808656819184b53396e79fde /data/rbot
parentbf078e44fb84d5fdca18cdbf0ffe7ee86489da3e (diff)
markov plugin: use plain message
Diffstat (limited to 'data/rbot')
-rw-r--r--data/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 9e0bfccd..de8a94c2 100644
--- a/data/rbot/plugins/markov.rb
+++ b/data/rbot/plugins/markov.rb
@@ -209,7 +209,7 @@ class MarkovPlugin < Plugin
return if ignore? m.source
# in channel message, the kind we are interested in
- message = clean_str m.message
+ message = clean_str m.plainmessage
if m.action?
message = "#{m.sourcenick} #{message}"