Sometimes logic gets a little too logical for me.
This commit is contained in:
parent
91233b8d61
commit
7b4c794729
@ -9125,7 +9125,7 @@
|
|||||||
deletedPosts.push(post);
|
deletedPosts.push(post);
|
||||||
} else if (post.isDead) {
|
} else if (post.isDead) {
|
||||||
post.resurrect();
|
post.resurrect();
|
||||||
} else if (post.file && !(post.file.isDead && __indexOf.call(files, ID) >= 0)) {
|
} else if (post.file && !(post.file.isDead || __indexOf.call(files, ID) >= 0)) {
|
||||||
post.kill(true);
|
post.kill(true);
|
||||||
deletedFiles.push(post);
|
deletedFiles.push(post);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9108,7 +9108,7 @@
|
|||||||
deletedPosts.push(post);
|
deletedPosts.push(post);
|
||||||
} else if (post.isDead) {
|
} else if (post.isDead) {
|
||||||
post.resurrect();
|
post.resurrect();
|
||||||
} else if (post.file && !(post.file.isDead && __indexOf.call(files, ID) >= 0)) {
|
} else if (post.file && !(post.file.isDead || __indexOf.call(files, ID) >= 0)) {
|
||||||
post.kill(true);
|
post.kill(true);
|
||||||
deletedFiles.push(post);
|
deletedFiles.push(post);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -267,7 +267,7 @@ ThreadUpdater =
|
|||||||
deletedPosts.push post
|
deletedPosts.push post
|
||||||
else if post.isDead
|
else if post.isDead
|
||||||
post.resurrect()
|
post.resurrect()
|
||||||
else if post.file and not (post.file.isDead and ID in files)
|
else if post.file and not (post.file.isDead or ID in files)
|
||||||
post.kill true
|
post.kill true
|
||||||
deletedFiles.push post
|
deletedFiles.push post
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user