From ab3bafac23e42a6868e785aa99a1014554c8a941 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Thu, 20 Feb 2003 23:37:19 +0000 Subject: [PATCH] %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. --- src/sbbs3/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp index 463bde64a4..4da9a36b9a 100644 --- a/src/sbbs3/main.cpp +++ b/src/sbbs3/main.cpp @@ -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); -- GitLab