]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Factoids/Update.pl
- berkeley dbm support now works! thanks to tim riker.
[infobot.git] / src / Factoids / Update.pl
index d0b57d13968f3587698b74dd67e093cacbfe1ba7..07b8ec6e1c9bbaa413f6dcb15af7e76833c09b2f 100644 (file)
@@ -224,9 +224,9 @@ sub update {
        &status("update: <$who> \'$lhs\' =$mhs=> \'$rhs\'; was \'$exists\'");
 
        # should dbReplace be used here?
-       &delFactoid($lhs);
-       &setFactInfo($lhs,"created_by", $nuh);
-       &setFactInfo($lhs,"created_time", time());
+       #&delFactoid($lhs); # breaks dbm. leave it and use modified_* - Tim Riker <Tim@Rikers.org>
+       &setFactInfo($lhs,"modified_by", $nuh);
+       &setFactInfo($lhs,"modified_time", time());
        &setFactInfo($lhs,"factoid_value", $rhs);
 
        if (!defined $rhs or $rhs eq "") {