]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/babel.pl
- Remaining files that were changed due to removal of $noreply or
[infobot.git] / src / Modules / babel.pl
index 01d097d08c8e7d4868274966bbec7af464647d52..a75a19a2a1b0970c82c05a6ccef99ca91f7d28be 100644 (file)
@@ -50,10 +50,10 @@ sub babelfish {
     my $toenglish = "${lang}_en";
 
     if ($direction eq 'to') {
-       &main::performStrictReply( translate($phrase, $tolang, $req, $ua) );
+       &::performStrictReply( translate($phrase, $tolang, $req, $ua) );
        return;
     } elsif ($direction eq 'from') {
-       &main::performStrictReply( translate($phrase, $toenglish, $req, $ua) );
+       &::performStrictReply( translate($phrase, $toenglish, $req, $ua) );
        return;
     }
 
@@ -68,7 +68,7 @@ sub babelfish {
        $last_english = $phrase = translate($phrase, $toenglish, $req, $ua);
     }
 
-    &main::performStrictReply($last_english);
+    &::performStrictReply($last_english);
 }
 
 sub translate {