summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorMatthias -apoc- Hecker <apoc@sixserv.org>2010-03-18 14:10:12 +0100
committerMatthias -apoc- Hecker <apoc@sixserv.org>2010-03-18 14:10:12 +0100
commit79d95448a9dd48c8273255be90945acfe53043d4 (patch)
tree356e35c3e67f12e056fa9772248b18c9bb7f4c5b /lib/rbot
parent904106997bab0ea9894516ae324af6f3538ccf24 (diff)
Small httputil.rb fix. Wrong Argument port instead of pass.
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/core/utils/httputil.rb2
1 files changed, 1 insertions, 1 deletions
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]