diff --git a/library/includes/functions.php b/library/includes/functions.php index 481174d10..caf7a9d9f 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -1232,12 +1232,7 @@ function get_user_torrent_client(string $peer_id): mixed } if (!empty($bestMatch)) { - $client_icons_dir = IMAGES_DIR . '/clients/' . $bestMatch . $icons_extension; - if (file_exists($client_icons_dir)) { - return '' . $peer_id . ''; - } else { - return $bestMatch; - } + return '' . $bestMatch . ''; } else { return $peer_id; }