Skip to content

Commit 4809038

Browse files
committed
sch: search same & next hour only w/ local schedules
1 parent 96ac2b8 commit 4809038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/espurna/scheduler_common.ipp

+1-1
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ bool handle_impl(const SearchValidate& sv, Context& ctx, size_t index, const Sch
741741
}
742742

743743
if (!sv.search(search, search.time_point)) {
744-
if (is_valid(search.same_hour)) {
744+
if (search.local && is_valid(search.same_hour)) {
745745
result_same_hour(search);
746746
} else {
747747
return false;

0 commit comments

Comments
 (0)