summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/url.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/url.rb b/data/rbot/plugins/url.rb
index ca24f072..1e72a3a1 100644
--- a/data/rbot/plugins/url.rb
+++ b/data/rbot/plugins/url.rb
@@ -355,7 +355,7 @@ class UrlPlugin < Plugin
title = http.start { |http|
url.path = '/' if url.path == ''
- http.request_get(url.path) { |response|
+ http.request_get(url.path, "User-Agent" => "rbot-url_plugin/666.666") { |response|
case response
when Net::HTTPRedirection then