summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/digg.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/digg.rb')
-rw-r--r--data/rbot/plugins/digg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/digg.rb b/data/rbot/plugins/digg.rb
index 8663bd0f..8e3aeb4e 100644
--- a/data/rbot/plugins/digg.rb
+++ b/data/rbot/plugins/digg.rb
@@ -13,7 +13,7 @@ class DiggPlugin < Plugin
def digg(m, params)
max = params[:limit].to_i
debug "max is #{max}"
- xml = @bot.httputil.get(URI.parse("http://digg.com/rss/index.xml"))
+ xml = @bot.httputil.get_cached(URI.parse("http://digg.com/rss/index.xml"))
unless xml
m.reply "digg news parse failed"
return