summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/factoids.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-11-04 12:16:56 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-11-04 12:16:56 +0000
commita17455002b5459f08591c81c8e4fac69db853ace (patch)
tree3f7e28a358fc6028264918c0d88d6f13f73ecb78 /data/rbot/plugins/factoids.rb
parent43475d2d90769a06df3b6b583683cfd474f6547e (diff)
factoids plugin: default auth_path for fact editing
Diffstat (limited to 'data/rbot/plugins/factoids.rb')
-rw-r--r--data/rbot/plugins/factoids.rb5
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]'