summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/roulette.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-01-30 15:58:13 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-01-30 15:58:13 +0000
commit9d29f400bb3a354779185d61049ce7cdfa7744ee (patch)
tree4122817863fcd8b55e338a1ce1bb57ca63654b5b /data/rbot/plugins/roulette.rb
parentf035093afcd72050d23620f86cb43380164044ce (diff)
auth -> auth_path fixes
Diffstat (limited to 'data/rbot/plugins/roulette.rb')
-rw-r--r--data/rbot/plugins/roulette.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/data/rbot/plugins/roulette.rb b/data/rbot/plugins/roulette.rb
index 8c0045e5..9fce8d8a 100644
--- a/data/rbot/plugins/roulette.rb
+++ b/data/rbot/plugins/roulette.rb
@@ -207,10 +207,13 @@ class RoulettePlugin < Plugin
end
plugin = RoulettePlugin.new
+
+plugin.default_auth('clearstats', false)
+
plugin.map 'roulette reload', :action => 'reload'
plugin.map 'roulette spin', :action => 'spin'
plugin.map 'roulette stats :player', :action => 'playerstats'
plugin.map 'roulette stats', :action => 'stats'
-plugin.map 'roulette clearstats', :action => 'clearstats', :auth => 'config'
+plugin.map 'roulette clearstats', :action => 'clearstats'
plugin.map 'roulette'