]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/spell.pl
* Merge changes from prposed changes
[infobot.git] / src / Modules / spell.pl
index f6ff8896de92130e245bd356de9d33e8f9674825..f8d38bde85dfe57163af9ca1c06e4d46f5d75cfe 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'";
@@ -77,4 +77,5 @@ sub spell::query {
 }
 
 1;
-# vim: ts=2 sw=2
+
+# vim:ts=4:sw=4:expandtab:tw=80