diff options
author | Dmitry Kim <dmitry point kim at gmail point com> | 2007-04-24 05:08:44 +0000 |
---|---|---|
committer | Dmitry Kim <dmitry point kim at gmail point com> | 2007-04-24 05:08:44 +0000 |
commit | 78c6c6ed26f019aec6f3ac9f3e01539a68016537 (patch) | |
tree | d46814701dc38d7b456f0924b098de53c3188167 | |
parent | a7b1061f7546d9e3be894aa52a90c9a2f0fbae3c (diff) |
* (plugins/url) don't download (and don't cache) non-text urls
-rw-r--r-- | data/rbot/plugins/url.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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'] |