Commit 401b55c0 authored by rswindell's avatar rswindell
Browse files

Recognize the "quiet" directory setting (no download notifications) for

the JS User.downloaded_file() method (used by ecWeb's file download stuff).
Thanks Coz.
parent 64ab234c
......@@ -2352,7 +2352,7 @@ BOOL user_downloaded_file(scfg_t* cfg, user_t* user, client_t* client,
ulong mod=(ulong)(l*(cfg->dir[f.dir]->dn_pct/100.0));
adjustuserrec(cfg, uploader.number, U_CDT, 10, mod);
if(cfg->text != NULL) {
if(cfg->text != NULL && !(cfg->dir[f.dir]->misc&DIR_QUIET)) {
char str[256];
char tmp[128];
char prefix[128]="";
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