This commit is contained in:
Flummi 2016-09-01 06:41:07 +00:00
parent 4fb763a723
commit a497d65395

View File

@ -149,7 +149,7 @@ Lib.prototype.dl = (url, dest, cb) => {
}); });
} }
else else
cb({'status':false, 'msg':'f0ck! your file is too big (~'+formatSize(response.headers['content-length'])+'), max '+formatSize(cfg.maxFileSize)+' allowed', 'type':1}); cb({'status':false, 'msg':'f0ck! your file is too big (~'+Lib.prototype.formatSize(response.headers['content-length'])+'), max '+Lib.prototype.formatSize(cfg.maxFileSize)+' allowed', 'type':1});
} }
else else
cb({'status':false, 'msg':'f0ck you', 'type':2}); cb({'status':false, 'msg':'f0ck you', 'type':2});