Commit dfbce172 authored by rswindell's avatar rswindell
Browse files

More debug-level log output around the fixed logon/logut events

(when/what is executed, or at least attempted).
parent 3aa93257
......@@ -437,8 +437,10 @@ bool sbbs_t::logon()
close(file);
}
if(cfg.sys_logon[0]) /* execute system logon event */
if(cfg.sys_logon[0]) { /* execute system logon event */
lprintf(LOG_DEBUG, "executing logon event: %s", cfg.sys_logon);
external(cmdstr(cfg.sys_logon,nulstr,nulstr,NULL),EX_STDOUT); /* EX_SH */
}
if(qwklogon)
return(true);
......
......@@ -93,13 +93,13 @@ void sbbs_t::logout()
if(!online) { /* NOT re-login */
if(cfg.sys_logout[0]) { /* execute system logout event */
lprintf(LOG_DEBUG, "executing logout event");
lprintf(LOG_DEBUG, "executing logout event: %s", cfg.sys_logout);
external(cmdstr(cfg.sys_logout,nulstr,nulstr,NULL),EX_OUTL|EX_OFFLINE);
}
}
if(cfg.logout_mod[0]) {
lprintf(LOG_DEBUG, "executing logout module");
lprintf(LOG_DEBUG, "executing logout module: %s", cfg.logout_mod);
exec_bin(cfg.logout_mod,&main_csi);
}
backout();
......
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