Forgot a "not"

This commit is contained in:
Zixaphir 2013-03-15 15:53:50 -07:00
parent 909bc510bc
commit 8f2619d2f1
2 changed files with 2 additions and 2 deletions

View File

@ -5804,7 +5804,7 @@
} else if (!index.contains(ID)) {
post.kill();
deletedPosts.push(post);
} else if (post.file && !post.file.isDead && files.contains(ID)) {
} else if (post.file && !post.file.isDead && !files.contains(ID)) {
post.kill(true);
deletedFiles.push(post);
}

View File

@ -3954,7 +3954,7 @@ ThreadUpdater =
else unless index.contains ID
post.kill()
deletedPosts.push post
else if post.file and !post.file.isDead and files.contains ID
else if post.file and !post.file.isDead and not files.contains ID
post.kill true
deletedFiles.push post