summaryrefslogtreecommitdiff
path: root/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'timer.c')
-rw-r--r--timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/timer.c b/timer.c
index a0d6aab..d73f60a 100644
--- a/timer.c
+++ b/timer.c
@@ -584,7 +584,7 @@ int cUpdate::updateTimerTable()
tell(1, "Updating table timers (and remove deleted and finished timers older than 2 days)");
- timerDb->deleteWhere("%s < unix_timestamp() - %d and %s in ('D','F')",
+ timerDb->deleteWhere("%s < unix_timestamp() - %d and %s in ('D','F','-')",
timerDb->getField("UPDSP")->getDbName(),
2 * tmeSecondsPerDay,
timerDb->getField("STATE")->getDbName());