Skip to content
Snippets Groups Projects
Commit 65c4e767 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

days == 128 is also "never".

parent ea8a33f7
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1073 passed
...@@ -144,7 +144,7 @@ extern "C" time_t DLLCALL getnexteventtime(event_t* event) ...@@ -144,7 +144,7 @@ extern "C" time_t DLLCALL getnexteventtime(event_t* event)
if(event->misc & EVENT_DISABLED) if(event->misc & EVENT_DISABLED)
return 0; return 0;
if(event->days == 0 || event->freq != 0) if(event->days == 0 || event->days == 128 || event->freq != 0)
return 0; return 0;
if(localtime_r(&t, &tm) == NULL) if(localtime_r(&t, &tm) == NULL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment