diff options
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/markov.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/rbot/plugins/markov.rb b/data/rbot/plugins/markov.rb index ef599df4..8d788310 100644 --- a/data/rbot/plugins/markov.rb +++ b/data/rbot/plugins/markov.rb @@ -162,6 +162,10 @@ class MarkovPlugin < Plugin # in channel message, the kind we are interested in message = clean_str m.message + + if m.action? + message = "#{m.sourcenick} #{message}" + end wordlist = message.split(/\s+/) return unless wordlist.length >= 2 |