diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-11-04 12:16:56 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-11-04 12:16:56 +0000 |
commit | a17455002b5459f08591c81c8e4fac69db853ace (patch) | |
tree | 3f7e28a358fc6028264918c0d88d6f13f73ecb78 /data | |
parent | 43475d2d90769a06df3b6b583683cfd474f6547e (diff) |
factoids plugin: default auth_path for fact editing
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/factoids.rb | 5 |
1 files changed, 4 insertions, 1 deletions
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]' |