f0ck it.
This commit is contained in:
parent
903ec7f2d6
commit
17a726fe2b
|
@ -171,7 +171,7 @@ module.exports = (lib) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
dat
|
dat
|
||||||
.once('finish', () => {
|
.on('finish', () => {
|
||||||
var size = dat.bytesWritten;
|
var size = dat.bytesWritten;
|
||||||
dat.end();
|
dat.end();
|
||||||
if( ( size <= lib.cfg.main.maxFileSize ) || force || ( userlevel >= 60 && size <= (lib.cfg.main.maxFileSize * 2) ) ) {
|
if( ( size <= lib.cfg.main.maxFileSize ) || force || ( userlevel >= 60 && size <= (lib.cfg.main.maxFileSize * 2) ) ) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user