Sometimes logic gets a little too logical for me.

This commit is contained in:
Zixaphir 2013-12-24 15:10:03 -07:00
parent 91233b8d61
commit 7b4c794729
3 changed files with 3 additions and 3 deletions

View File

@ -9125,7 +9125,7 @@
deletedPosts.push(post);
} else if (post.isDead) {
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);
deletedFiles.push(post);
}

View File

@ -9108,7 +9108,7 @@
deletedPosts.push(post);
} else if (post.isDead) {
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);
deletedFiles.push(post);
}

View File

@ -267,7 +267,7 @@ ThreadUpdater =
deletedPosts.push post
else if post.isDead
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
deletedFiles.push post