diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-02-14 23:05:45 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-02-14 23:05:45 +0100 |
commit | 6597d0ddca268bada27cb5d7750a3fcce89dd658 (patch) | |
tree | c43b2da44997208e93c06c92341e684cb6238a8a | |
parent | 084d7007fad626b69f7186ea2a05805e1ce0500a (diff) |
markov plugin: markov probability <chance> wasn't working correctly
-rw-r--r-- | data/rbot/plugins/markov.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/markov.rb b/data/rbot/plugins/markov.rb index bd7a673e..3ce2ba4f 100644 --- a/data/rbot/plugins/markov.rb +++ b/data/rbot/plugins/markov.rb @@ -128,7 +128,7 @@ class MarkovPlugin < Plugin def probability(m, params) if params[:probability] - @bot.config['probability'] = params[:probability].to_i + @bot.config['markov.probability'] = params[:probability].to_i m.okay else m.reply _("markov has a %{prob}% chance of chipping in") % { :prob => probability? } |