From: timriker Date: Fri, 22 Aug 2003 00:59:01 +0000 (+0000) Subject: proxy X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0508372b280cc74b57c430b817a536db11155335;p=infobot.git proxy git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@812 c11ca15a-4712-0410-83d8-924469b57eb5 --- 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);