Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 8ed54713 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Make it very obvious when a timed event has been disabled

By displaying "<DISABLED>" instead of the command-line in the event list.
parent 87bbc1e9
Pipeline #1457 passed with stage
in 15 minutes and 19 seconds
......@@ -420,7 +420,9 @@ void tevents_cfg()
while(1) {
for(i=0;i<cfg.total_events && i<MAX_OPTS;i++)
sprintf(opt[i],"%-8.8s %s",cfg.event[i]->code,cfg.event[i]->cmd);
sprintf(opt[i],"%-8.8s %s"
,cfg.event[i]->code
,(cfg.event[i]->misc&EVENT_DISABLED) ? "<DISABLED>" : cfg.event[i]->cmd);
opt[i][0]=0;
j=WIN_SAV|WIN_ACT|WIN_CHE|WIN_RHT;
if(cfg.total_events)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment