summaryrefslogtreecommitdiff
path: root/data/rbot
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
parentf035093afcd72050d23620f86cb43380164044ce (diff)
auth -> auth_path fixes
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/remind.rb9
-rw-r--r--data/rbot/plugins/roulette.rb5
2 files changed, 10 insertions, 4 deletions
diff --git a/data/rbot/plugins/remind.rb b/data/rbot/plugins/remind.rb
index 8cc263b8..0c0841f6 100644
--- a/data/rbot/plugins/remind.rb
+++ b/data/rbot/plugins/remind.rb
@@ -215,10 +215,13 @@ class RemindPlugin < Plugin
end
end
plugin = RemindPlugin.new
+
+plugin.default_auth('other', false)
+
plugin.map 'remind me no more', :action => 'no_more'
plugin.map 'remind me no more [about] *string', :action => 'no_more'
plugin.map 'remind me [about] *string'
-plugin.map 'remind :who no more', :auth => 'remind_other', :action => 'no_more'
-plugin.map 'remind :who no more [about] *string', :auth => 'remind_other', :action => 'no_more'
-plugin.map 'remind :who [about] *string', :auth => 'remind_other'
+plugin.map 'remind :who no more', :auth_path => 'other', :action => 'no_more'
+plugin.map 'remind :who no more [about] *string', :auth_path => 'other', :action => 'no_more'
+plugin.map 'remind :who [about] *string', :auth_path => 'other'
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'