...
 
Commits (1)
......@@ -144,7 +144,7 @@ extern "C" time_t DLLCALL getnexteventtime(event_t* event)
if(event->misc & EVENT_DISABLED)
return 0;
if(event->days == 0 || event->days == 128 || event->freq != 0)
if((event->days & 0x7f) == 0 || event->freq != 0)
return 0;
if(localtime_r(&t, &tm) == NULL)
......
......@@ -242,7 +242,7 @@ void net_cfg()
SAFECOPY(cfg.qhub[i]->unpack,"%@unzip -Coj %f %s -d %g");
SAFECOPY(cfg.qhub[i]->call,"*qnet-ftp %s hub.address YOURPASS");
cfg.qhub[i]->node = NODE_ANY;
cfg.qhub[i]->days=(uchar)0xff; /* all days */
cfg.qhub[i]->days=0x7f; /* all days */
uifc.changes=1;
continue;
}
......
......@@ -683,7 +683,7 @@ void tevents_cfg()
if(k==-1)
break;
if(k==7)
cfg.event[i]->days=(uchar)0xff;
cfg.event[i]->days=0x7f;
else if(k==8)
cfg.event[i]->days=0;
else
......