From 9d29f400bb3a354779185d61049ce7cdfa7744ee Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 30 Jan 2007 15:58:13 +0000 Subject: auth -> auth_path fixes --- data/rbot/plugins/remind.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'data/rbot/plugins/remind.rb') 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' -- cgit v1.2.3