Commit e4ad5e21 authored by rswindell's avatar rswindell
Browse files

Fixed "attempted to download" log entry (user name and filename swapped).

parent 43ce4ca0
......@@ -307,9 +307,12 @@ bool sbbs_t::checkprotlog(file_t* f)
fclose(stream);
bprintf(text[FileNotSent],f->name);
if(f->dir<cfg.total_dirs)
sprintf(str,"%s attempted to download %s (%s) from %s %s",f->name
sprintf(str,"%s attempted to download %s (%s) from %s %s"
,useron.alias
,ultoac(f->size,tmp),cfg.lib[cfg.dir[f->dir]->lib]->sname,cfg.dir[f->dir]->sname);
,f->name
,ultoac(f->size,tmp)
,cfg.lib[cfg.dir[f->dir]->lib]->sname
,cfg.dir[f->dir]->sname);
else
sprintf(str,"%s attempted to download QWK packet",useron.alias);
logline("D!",str);
......
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