]> git.donarmstrong.com Git - infobot.git/blobdiff - blootbot/src/Modules/babelfish.pl
take a few more things literally
[infobot.git] / blootbot / src / Modules / babelfish.pl
index 850292b172df2d6868cd3f499b7469b16ca55590..e7774cc8ea16c84e4b2f198302a63d3717ee6365 100644 (file)
@@ -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);