]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Quote.pl
take a few more things literally
[infobot.git] / src / Modules / Quote.pl
index 147c230662cb9943e1776b2ac83f8fd128540391..14ee9fb3ba4d5df272814e0b9a204675357096bd 100644 (file)
@@ -20,7 +20,7 @@ sub commify {
 
 sub Quote {
     my $stock = shift;
-    my @results = &::getURL("http://quote.yahoo.com/d/quotes.csv" .
+    my @results = &::getURL('http://quote.yahoo.com/d/quotes.csv' .
            "?s=$stock&f=sl1d1t1c1ohgv&e=.csv");
 
 
@@ -45,7 +45,7 @@ sub Quote {
                "Opened $open, Volume $newvol, Change $change";
     }
 
-    if ($reply eq "") {
+    if ($reply eq '') {
        $reply = "i couldn't get the quote for $stock. sorry. :(";
     }