summaryrefslogtreecommitdiff
path: root/rbot/plugins/google.rb
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-07-21 11:03:46 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-07-21 11:03:46 +0000
commitca4b8b57bd382ca4619cac1157f14ea0e396cc55 (patch)
tree658d5c63d48db28ac287c1d973fe88320ad3b0ac /rbot/plugins/google.rb
parente3c4d9ad30b8548c09dd7d26abdfeef223c23f40 (diff)
Wed Jul 20 23:30:01 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
* Move some core plugins to use the new httputil * fix wserver's redirection handling for relative (i.e. broken) redirects * fix tube plugin's html parsing
Diffstat (limited to 'rbot/plugins/google.rb')
-rw-r--r--rbot/plugins/google.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbot/plugins/google.rb b/rbot/plugins/google.rb
index 2e9aacba..cd96f23c 100644
--- a/rbot/plugins/google.rb
+++ b/rbot/plugins/google.rb
@@ -27,7 +27,7 @@ class GooglePlugin < Plugin
end
end
- http = Net::HTTP.new("www.google.com", 80, proxy_host, proxy_port)
+ http = @bot.httputil.get_proxy(URI.parse("http://www.google.com"))
begin
http.start {|http|