Update dl.php

This commit is contained in:
Roman Kelesidis 2023-12-30 01:00:37 +07:00
parent 981cb4bed5
commit cf87cb979d

2
dl.php
View File

@ -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'];