]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Factoids/Update.pl
- irctextcounters: add percentage to top3
[infobot.git] / src / Factoids / Update.pl
index 1f117c44816e84ce81d626a8bc5346caddd86f11..68c0cfc7c1c4daa2a45ace0f1cdfb70d5b81351f 100644 (file)
@@ -55,7 +55,7 @@ sub update {
     # freshmeat
     if (&IsChanConf("freshmeatForFactoid")) {
        # todo: "name" is invalid for fm ][
-       if (&dbGet("freshmeat", "name", "name='$lhs'")) {
+       if ( &dbGet("freshmeat", "name", "name=".&dbQuote($lhs)) ) {
            &msg($who, "permission denied. (freshmeat)");
            &status("alert: $who wanted to teach me something that freshmeat already has info on.");
            return 1;