From a17455002b5459f08591c81c8e4fac69db853ace Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 4 Nov 2007 12:16:56 +0000 Subject: factoids plugin: default auth_path for fact editing --- data/rbot/plugins/factoids.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'data/rbot') diff --git a/data/rbot/plugins/factoids.rb b/data/rbot/plugins/factoids.rb index d9966fa8..928550d3 100644 --- a/data/rbot/plugins/factoids.rb +++ b/data/rbot/plugins/factoids.rb @@ -177,7 +177,10 @@ class FactoidsPlugin < Plugin end plugin = FactoidsPlugin.new + +plugin.default_auth('edit', false) + plugin.map 'learn that *stuff' -plugin.map 'forget that *stuff' +plugin.map 'forget that *stuff', :auth_path => 'edit' plugin.map 'facts [about *words]' plugin.map 'fact [about *words]' -- cgit v1.2.3