summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSpencer Rinehart <spencer.rinehart@dominionenterprises.com>2009-02-12 15:14:44 -0500
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-02-12 21:21:18 +0100
commit3a8550d3e646b1edefdf039b9aea2d4c4d3c3efc (patch)
treee88cd28d629a95414e8d752dd7930519cf6d4244 /data
parent9f4d77a9986915795648fa20dc9da89352dc7b4d (diff)
markov plugin: add the size of the learning queue to the status message.
Diffstat (limited to 'data')
-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 abbcb332..6e692def 100644
--- a/data/rbot/plugins/markov.rb
+++ b/data/rbot/plugins/markov.rb
@@ -99,7 +99,7 @@ class MarkovPlugin < Plugin
def status(m,params)
if @bot.config['markov.enabled']
- m.reply "markov is currently enabled, #{probability?}% chance of chipping in"
+ m.reply "markov is currently enabled, #{probability?}% chance of chipping in, #{@learning_queue.length} messages in queue"
else
m.reply "markov is currently disabled"
end