summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-28 14:03:52 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-28 14:03:52 +0000
commit571bb66a39be594f7d5af00336e3123ba00ea25c (patch)
tree1dd3626235552db13869c424fcfae0b6625837e6
parentf10419698c7889d84d325e37250f8534f2645767 (diff)
Do not use get_cached for RSS until we have proper cache handling
-rw-r--r--data/rbot/plugins/rss.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index 8f5420c5..d976c412 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -485,7 +485,9 @@ class RSSFeedsPlugin < Plugin
def fetchRss(feed, m=nil)
begin
# Use 60 sec timeout, cause the default is too low
- xml = @bot.httputil.get_cached(feed.url,60,60)
+ # Do not use get_cached for RSS until we have proper cache handling
+ # xml = @bot.httputil.get_cached(feed.url,60,60)
+ xml = @bot.httputil.get(feed.url,60,60)
rescue URI::InvalidURIError, URI::BadURIError => e
report_problem("invalid rss feed #{feed.url}", e, m)
return