summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-14 23:05:45 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-14 23:05:45 +0100
commit6597d0ddca268bada27cb5d7750a3fcce89dd658 (patch)
treec43b2da44997208e93c06c92341e684cb6238a8a
parent084d7007fad626b69f7186ea2a05805e1ce0500a (diff)
markov plugin: markov probability <chance> wasn't working correctly
-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 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? }