]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/rss.rb
Initial implementation of proper caching based on last-modified and etag HTTP headers
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / rss.rb
index 192c079a11a5421976e9e709d3108976a573b7fd..dcbccb8c3fc4adc7e6527bee68ae4c3ecc69791b 100644 (file)
@@ -506,7 +506,7 @@ class RSSFeedsPlugin < Plugin
       # Use 60 sec timeout, cause the default is too low\r
       # Do not use get_cached for RSS until we have proper cache handling\r
       # xml = @bot.httputil.get_cached(feed.url,60,60)\r
-      xml = @bot.httputil.get(feed.url,60,60)\r
+      xml = @bot.httputil.get_cached(feed.url, 60, 60)\r
     rescue URI::InvalidURIError, URI::BadURIError => e\r
       report_problem("invalid rss feed #{feed.url}", e, m)\r
       return\r