# HG changeset patch # User Matti Hamalainen # Date 1508536746 -10800 # Node ID 6acd372d36da67cae789d62bacaa4a3ea952a8f8 # Parent cfbe6acc1d73f774a80074a786e8c070c3f56e45 quotedb: Do not update quote creation timestamp field when updating quote. diff -r cfbe6acc1d73 -r 6acd372d36da quotedb.tcl --- a/quotedb.tcl Tue Oct 17 10:58:02 2017 +0300 +++ b/quotedb.tcl Sat Oct 21 00:59:06 2017 +0300 @@ -187,7 +187,7 @@ qdb_handle eval $usql { set udiff [expr [unixtime] - $utime] if {$udiff < $maxdiff || $qoverride} { - set usql "UPDATE $utable SET utext='[utl_escape $uquote]', utime=[unixtime] WHERE id=$unum" + set usql "UPDATE $utable SET utext='[utl_escape $uquote]' WHERE id=$unum" if {![qdb_sql_exec $upublic $unick $uchan $usql]} { return 0 } else {