From 78c6c6ed26f019aec6f3ac9f3e01539a68016537 Mon Sep 17 00:00:00 2001 From: Dmitry Kim Date: Tue, 24 Apr 2007 05:08:44 +0000 Subject: * (plugins/url) don't download (and don't cache) non-text urls --- data/rbot/plugins/url.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'data') diff --git a/data/rbot/plugins/url.rb b/data/rbot/plugins/url.rb index 10cc419a..6d82099f 100644 --- a/data/rbot/plugins/url.rb +++ b/data/rbot/plugins/url.rb @@ -76,6 +76,8 @@ class UrlPlugin < Plugin } end # if nothing was found, provide more basic info, as for non-html pages + else + resp.no_cache = true end enc = resp['content-encoding'] -- cgit v1.2.3