diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-28 22:53:33 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-28 22:53:33 +0100 |
commit | f3df4e37fc0a04814154342239ad704df5747dbc (patch) | |
tree | ef8f32d32bcefa2f8dbb34f3a97902f79920a390 /data | |
parent | b9fd5f1df8db0a7e8654add8e7e1afb9099a022a (diff) |
markov plugin: stricter permission on ignore and probability
Diffstat (limited to 'data')
-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 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) + |