From: timriker Date: Thu, 21 Aug 2003 22:59:40 +0000 (+0000) Subject: might as well use proxy if we have one X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=30ddea7c378b266806ca5684e4853961d96f935a;p=infobot.git might as well use proxy if we have one git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@807 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/BZFlag.pl b/src/Modules/BZFlag.pl index e0ca993..1ef0887 100755 --- a/src/Modules/BZFlag.pl +++ b/src/Modules/BZFlag.pl @@ -43,6 +43,7 @@ sub BZFlag::BZFlag { sub BZFlag::list { my ($response); my $ua = new LWP::UserAgent; + $ua->proxy('http', $::param{'httpProxy'}) if (&::IsParam("httpProxy")); $ua->timeout(5);