Commit f228adff authored by rswindell's avatar rswindell
Browse files

Updated logline() calls to include user's alias.

parent e97eb90e
......@@ -528,7 +528,8 @@ int sbbs_t::external(char* cmdline, long mode, char* startup_dir)
while(!(mode&EX_BG)) {
if(!online && !(mode&EX_OFFLINE)) { // Tell VXD/VDD and external that user hung-up
if(was_online) {
logline("X!","Hung-up in external program");
sprintf(str,"%s hung-up in external program",useron.alias);
logline("X!",str);
hungup=time(NULL);
if(!native) {
if(nt)
......
......@@ -1429,7 +1429,8 @@ bool sbbs_t::exec_xtrn(uint xtrnnum)
xtrndat(name,dropdir,cfg.xtrn[xtrnnum]->type,tleft,cfg.xtrn[xtrnnum]->misc);
if(!online)
return(false);
sprintf(str,"Ran external: %s",cfg.xtrn[xtrnnum]->name);
sprintf(str,"%s running external program: %s"
,useron.alias,cfg.xtrn[xtrnnum]->name);
logline("X-",str);
if(cfg.xtrn[xtrnnum]->cmd[0]!='*' && logfile_fp!=NULL) {
fclose(logfile_fp);
......
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