]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Search.pl
take a few more things literally
[infobot.git] / src / Modules / Search.pl
index a71bd9c70a0b5d01450b134ce77235b83f0d09e1..5f4108abe3f0a733c74399bfa0062c7ea79e1813 100644 (file)
@@ -17,12 +17,12 @@ sub Search {
 
     $type =~ s/s$//;   # nice work-around.
 
-    if ($type eq "value") {
+    if ($type eq 'value') {
        # search by value.
-       @list = &::searchTable("factoids", "factoid_key", "factoid_value", $str);
+       @list = &::searchTable('factoids', 'factoid_key', 'factoid_value', $str);
     } else {
        # search by key.
-       @list = &::searchTable("factoids", "factoid_key", "factoid_key", $str);
+       @list = &::searchTable('factoids', 'factoid_key', 'factoid_key', $str);
     }
 
     @list=grep(!/\#DEL\#$/,@list) if (scalar(@list) > $maxshow);