From cf87cb979d036081259d5925d3bb359613ed76b2 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 30 Dec 2023 01:00:37 +0700 Subject: [PATCH] Update dl.php --- dl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dl.php b/dl.php index 37e831e1..aa8e4c9e 100644 --- a/dl.php +++ b/dl.php @@ -172,7 +172,7 @@ $datastore->rm('cat_forums'); // // Check tor status // -if (!IS_AM && (strpos($attachment['mimetype'], 'bittorrent') !== false)) +if (!IS_AM && !(strpos($attachment['mimetype'], 'bittorrent') === false)) { $sql = "SELECT tor_status, poster_id FROM " . BB_BT_TORRENTS . " WHERE attach_id = " . (int) $attachment['attach_id'];