]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/spell.pl
take a few more things literally
[infobot.git] / src / Modules / spell.pl
index f6ff8896de92130e245bd356de9d33e8f9674825..705854dfdde8913266c9c61d6cd7e46697c665ec 100644 (file)
@@ -15,7 +15,7 @@ use strict;
 sub spell::spell {
        my $query = shift;
        if ($query =~ m/[^[:alpha:]]/) {
-               return("only one word of alphabetic characters supported");
+               return('only one word of alphabetic characters supported');
        }
 
        my $binary;
@@ -33,11 +33,11 @@ sub spell::spell {
        }
 
        if (!$binary) {
-               return("no binary found.");
+               return('no binary found.');
        }
 
        if (!&::validExec($query)) {
-               return("argument appears to be fuzzy.");
+               return('argument appears to be fuzzy.');
        }
 
        my $reply = "I can't find alternate spellings for '$query'";