ups
This commit is contained in:
parent
7398dba271
commit
4bab4102f1
|
@ -174,7 +174,7 @@ module.exports = (lib, userlevel) => {
|
|||
.on('finish', () => {
|
||||
var size = dat.bytesWritten;
|
||||
dat.end();
|
||||
if( ( size <= lib.cfg.main.maxFileSize ) || ( userlevel >= 100 && force ) ) {
|
||||
if( ( size <= lib.cfg.main.maxFileSize ) || force ) {
|
||||
fs.stat('./b/' + tmpdest, (err, stat) => {
|
||||
if(!err && stat.isFile() && stat.size > 300) {
|
||||
lib.log('Datei '+tmpdest+' existiert');
|
||||
|
|
Loading…
Reference in New Issue
Block a user