summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}"