summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 258857c..2463d86 100644
--- a/eval.c
+++ b/eval.c
@@ -108,7 +108,7 @@ bool eval_acmtime(const struct expr *expr, struct eval_state *state) {
break;
}
- time_t diff = timespec_diff(&state->cl->now, time);
+ time_t diff = timespec_diff(&expr->reftime, time);
switch (expr->timeunit) {
case MINUTES:
diff /= 60;