summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-01-28 22:53:33 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-01-28 22:53:33 +0100
commitf3df4e37fc0a04814154342239ad704df5747dbc (patch)
treeef8f32d32bcefa2f8dbb34f3a97902f79920a390 /data
parentb9fd5f1df8db0a7e8654add8e7e1afb9099a022a (diff)
markov plugin: stricter permission on ignore and probability
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/markov.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/rbot/plugins/markov.rb b/data/rbot/plugins/markov.rb
index 64e87556..abbcb332 100644
--- a/data/rbot/plugins/markov.rb
+++ b/data/rbot/plugins/markov.rb
@@ -259,3 +259,7 @@ plugin.map 'chat about :seed1 :seed2', :action => "chat"
plugin.map 'chat', :action => "rand_chat"
plugin.map 'markov probability [:probability]', :action => "probability",
:requirements => {:probability => /^\d+%?$/}
+
+plugin.default_auth('ignore', false)
+plugin.default_auth('probability', false)
+