]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Freshmeat.pl
- modified db_mysql to allow eleet usage of dbSet
[infobot.git] / src / Modules / Freshmeat.pl
index 62f1952c5df8368bad52649d3ebbc99e34cbfc44..40c36fa236edd6896bb85df4b890a8f45d550227 100644 (file)
@@ -183,7 +183,10 @@ sub downloadIndex {
 
     ### lets get on with business.
     # set the last refresh time. fixes multiple spawn bug.
-    &::dbSet("freshmeat", "projectname_short", "_", "latest_version", time());
+    &::dbSet("freshmeat", 
+       { "projectname_short" => "_" },
+       { "latest_version" => time() }
+    );
 
     &::dbRaw("LOCK", "LOCK TABLES freshmeat WRITE");
     @cols      = &::dbGetColInfo("freshmeat");
@@ -235,7 +238,7 @@ sub downloadIndex {
                s/·//g;
        }
 
-       if ($str =~ s/\&(\S+);//g) {
+       if (0 and $str =~ s/\&(\S+?);//g) {
            &::DEBUG("fm: sarred $1 to ''.");
        }