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

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

parent 43ce4ca0
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment