]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/insult.pl
- Remaining files that were changed due to removal of $noreply or
[infobot.git] / src / Modules / insult.pl
index 1dbb89a6daca68aa0ffd62160a78a585fc53dd35..662542d57de6c63fd75bbc1dcbe5cbc926e7e0e9 100644 (file)
@@ -15,9 +15,9 @@ sub Insult {
     $t->Net::Telnet::open(Host => "insulthost.colorado.edu", Port => "1695");
     my $line = $t->Net::Telnet::getline(Timeout => 4);
 
-    $line = "No luck, $main::who" unless (defined $line);
+    $line = "No luck, $::who" unless (defined $line);
 
-    if ($insultwho ne $main::who) { 
+    if ($insultwho ne $::who) { 
        $line =~ s/^\s*You are/$insultwho is/i;
     }