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