bugfix
This commit is contained in:
parent
4fb763a723
commit
a497d65395
|
@ -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});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user