From f3df4e37fc0a04814154342239ad704df5747dbc Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 28 Jan 2009 22:53:33 +0100 Subject: markov plugin: stricter permission on ignore and probability --- data/rbot/plugins/markov.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data') 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) + -- cgit v1.2.3