X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=blootbot%2Fsrc%2FModules%2Fbabelfish.pl;h=e7774cc8ea16c84e4b2f198302a63d3717ee6365;hb=bf965fe525a92b2670e68dfff6d51da8cd98a692;hp=850292b172df2d6868cd3f499b7469b16ca55590;hpb=098a4a5091cee7b33b8fd0f8d8c9b93abe702729;p=infobot.git diff --git a/blootbot/src/Modules/babelfish.pl b/blootbot/src/Modules/babelfish.pl index 850292b..e7774cc 100644 --- a/blootbot/src/Modules/babelfish.pl +++ b/blootbot/src/Modules/babelfish.pl @@ -63,7 +63,7 @@ sub babelfishParam { $to = $lang_code{$to}; my $ua = new LWP::UserAgent; - $ua->proxy('http', $::param{'httpProxy'}) if (&::IsParam("httpProxy")); + $ua->proxy('http', $::param{'httpProxy'}) if (&::IsParam('httpProxy')); # Let's pretend $ua->agent("Mozilla/5.0 " . $ua->agent); $ua->timeout(5);