From 01de004a4b1f9e60373b5ec3165c095f4eabe9e1 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 26 Oct 2023 17:57:02 +0700 Subject: [PATCH] Update functions_torrent.php --- library/includes/functions_torrent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/includes/functions_torrent.php b/library/includes/functions_torrent.php index bbbf6d7f..7332df55 100644 --- a/library/includes/functions_torrent.php +++ b/library/includes/functions_torrent.php @@ -479,7 +479,7 @@ function send_torrent_with_passkey ($filename) if (!$tor = bdecode_file($filename)) { - bb_die('This is not a bencoded file'); + bb_die($lang['TORFILE_INVALID']); } $announce = $bb_cfg['ocelot']['enabled'] ? strval($bb_cfg['ocelot']['url'] .$passkey_val. "/announce") : strval($ann_url . "?$passkey_key=$passkey_val");