From c7d8783906f1e91534eba9e384c7c550032ed8a9 Mon Sep 17 00:00:00 2001 From: Flummi Date: Sun, 21 Aug 2016 12:35:14 +0200 Subject: [PATCH] lul --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index e8acbd6..4d3852c 100644 --- a/src/main.js +++ b/src/main.js @@ -218,7 +218,7 @@ var dl = (url, dest, cb) => { probe(dest+"."+cfg.allowedMimes[response.headers['content-type']], (err, probeData) => { if(probeData.streams[0].height !== undefined || probeData.streams[0].width !== undefined) { if(probeData.streams[0].height <= cfg.minRes || probeData.streams[0].width <= cfg.minRes) { - cb({'status':false, 'msg':'f0ck! your file is too large ('+probeData.streams[0].width+' x '+probeData.streams[0].height+'), min '+cfg.minRes+' x '+cfg.minRes+' required', 'type':1}); + cb({'status':false, 'msg':'f0ck! your file is too small ('+probeData.streams[0].width+' x '+probeData.streams[0].height+'), min '+cfg.minRes+' x '+cfg.minRes+' required', 'type':1}); } else cb({'status':true, 'msg':'downloaded '+dest, 'type':1, 'infos':{'mime':response.headers['content-type'], 'size':response.headers['content-length'], 'ext':cfg.allowedMimes[response.headers['content-type']]}});