forked from hummypkg/webif
1
0
Fork 0

Log unschedule operation correctly

This commit is contained in:
prpr 2023-07-01 22:14:33 +01:00
parent 9c5b1a5641
commit 7bd5bbc3c0
1 changed files with 2 additions and 1 deletions

View File

@ -702,7 +702,8 @@ rsv method insert {{table pending} {force 0} {defer 0}} {
$rsvdb query "delete from ${table} where ulslot = $ulslot;"
$rsvdb query $query {*}$bvals
system plog activity "Scheduled [$self name] @ $nsttime"
set actstr [format "%scheduled" $($action ? "Uns" : "S")]
system plog activity "$actstr [$self name] @ $nsttime"
if {$table eq "pending" && !$defer} { rsv commit }
}