Mercurial > hg > egg-tcls
changeset 459:6acd372d36da
quotedb: Do not update quote creation timestamp field when updating quote.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 21 Oct 2017 00:59:06 +0300 |
parents | cfbe6acc1d73 |
children | dbe249968591 |
files | quotedb.tcl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 {