another bugfix #2
This commit is contained in:
parent
c155a278e3
commit
3969b0a092
|
@ -179,7 +179,7 @@ module.exports = (lib) => {
|
|||
if(size > cfg.maxFileSize)
|
||||
cb({ success: false, file: tmpdest, msg: 'f0ck! your file is too big (~'+lib.formatSize(size)+'), max '+lib.formatSize(cfg.maxFileSize)+' allowed' });
|
||||
else {
|
||||
fs.stat('./b/' + cb.file, (err, stat) => {
|
||||
fs.stat('./b/' + tmpdest, (err, stat) => {
|
||||
if(err === null) {
|
||||
lib.getCheckSum('./b/' + tmpdest, (cbcs) => {
|
||||
lib.checkRepostCheckSum(cbcs, (cbcrcs) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user