From 0508372b280cc74b57c430b817a536db11155335 Mon Sep 17 00:00:00 2001 From: timriker Date: Fri, 22 Aug 2003 00:59:01 +0000 Subject: [PATCH] proxy git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@812 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Modules/babel.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/blootbot/src/Modules/babel.pl b/blootbot/src/Modules/babel.pl index 053ceef..720f4b0 100644 --- a/blootbot/src/Modules/babel.pl +++ b/blootbot/src/Modules/babel.pl @@ -59,6 +59,7 @@ sub babelfish { $to = $lang_code{$to}; my $ua = new LWP::UserAgent; + $ua->proxy('http', $::param{'httpProxy'}) if (&::IsParam("httpProxy")); $ua->agent("Mozilla/4.5 " . $ua->agent); # Let's pretend $ua->timeout(5); -- 2.39.5