From 79d95448a9dd48c8273255be90945acfe53043d4 Mon Sep 17 00:00:00 2001 From: Matthias -apoc- Hecker Date: Thu, 18 Mar 2010 14:10:12 +0100 Subject: Small httputil.rb fix. Wrong Argument port instead of pass. --- lib/rbot/core/utils/httputil.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/rbot/core/utils/httputil.rb b/lib/rbot/core/utils/httputil.rb index d1eb77ea..4f1db110 100644 --- a/lib/rbot/core/utils/httputil.rb +++ b/lib/rbot/core/utils/httputil.rb @@ -389,7 +389,7 @@ class HttpUtil end end - h = Net::HTTP.new(uri.host, uri.port, proxy_host, proxy_port, proxy_user, proxy_port) + h = Net::HTTP.new(uri.host, uri.port, proxy_host, proxy_port, proxy_user, proxy_pass) h.use_ssl = true if uri.scheme == "https" h.read_timeout = opts[:read_timeout] -- cgit v1.2.3