more verbose
This commit is contained in:
parent
5839a5b6b0
commit
3cd8601082
@ -188,7 +188,7 @@ module.exports = (lib) => {
|
|||||||
if(lib.cfg.main.allowedMimes.hasOwnProperty(mime.mime) || info.type === 'soundcloud')
|
if(lib.cfg.main.allowedMimes.hasOwnProperty(mime.mime) || info.type === 'soundcloud')
|
||||||
cb({ success: true, info: info, size: size, file: './b/' + tmpdest, checksum: cbcs });
|
cb({ success: true, info: info, size: size, file: './b/' + tmpdest, checksum: cbcs });
|
||||||
else
|
else
|
||||||
cb({ success: false, file: tmpdest, msg: 'lol, go f0ck yourself ('+mime+')' });
|
cb({ success: false, file: tmpdest, msg: 'lol, go f0ck yourself ('+JSON.stringify(mime)+')' });
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
cb({ success: false, file: tmpdest, msg: 'repost motherf0cker: '+lib.cfg.main.url+'/'+cbcrcs });
|
cb({ success: false, file: tmpdest, msg: 'repost motherf0cker: '+lib.cfg.main.url+'/'+cbcrcs });
|
||||||
|
Loading…
Reference in New Issue
Block a user