summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-08-30 16:42:16 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-08-30 16:42:16 +0200
commit269e7f8e7168808c784bf4128be721798e567ab4 (patch)
tree1cb452aa424a94dda0b38105be0b47aa73f4caf1
parent07b2f019851a105abf38f1b93540100788847b72 (diff)
url plugin: carry htmlinfo filtering output with the url_added event
-rw-r--r--data/rbot/plugins/url.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/url.rb b/data/rbot/plugins/url.rb
index 56e461d6..5d73382d 100644
--- a/data/rbot/plugins/url.rb
+++ b/data/rbot/plugins/url.rb
@@ -88,6 +88,7 @@ class UrlPlugin < Plugin
debug "+ getting info for #{url.request_uri}"
info = @bot.filter(:htmlinfo, url)
debug info
+ logopts[:htmlinfo] = info
resp = info[:headers]
logopts[:title] = title = info[:title]