Skip to content
Snippets Groups Projects
Commit ab3bafac authored by rswindell's avatar rswindell
Browse files

%s in an timed event command-line now expands to the configured

startup directory instead the drop file directory. This allows for cross-
platform native command-lines for sbj and sbl.
parent ab01bb2c
No related branches found
No related tags found
No related merge requests found
......@@ -1778,7 +1778,7 @@ void event_thread(void* arg)
ex_mode|=(sbbs->cfg.event[i]->misc&EX_NATIVE);
sbbs->online=ON_LOCAL;
sbbs->external(
sbbs->cmdstr(sbbs->cfg.event[i]->cmd,nulstr,nulstr,NULL)
sbbs->cmdstr(sbbs->cfg.event[i]->cmd,nulstr,sbbs->cfg.event[i]->dir,NULL)
,ex_mode
,sbbs->cfg.event[i]->dir);
sbbs->cfg.event[i]->last=time(NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment