summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/remind.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/remind.rb
parentf035093afcd72050d23620f86cb43380164044ce (diff)
auth -> auth_path fixes
Diffstat (limited to 'data/rbot/plugins/remind.rb')
-rw-r--r--data/rbot/plugins/remind.rb9
1 files changed, 6 insertions, 3 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'