From 8b3fdf7e079a0f86f748f39749516a910ca522ee Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Fri, 22 Dec 2023 15:34:20 +0700 Subject: [PATCH] Update Torrent.php --- src/Legacy/Torrent.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Legacy/Torrent.php b/src/Legacy/Torrent.php index e4aa10bd8..48ca026d9 100644 --- a/src/Legacy/Torrent.php +++ b/src/Legacy/Torrent.php @@ -474,8 +474,7 @@ class Torrent if ($reg_mode == 'request' || $reg_mode == 'newtopic') { set_die_append_msg($forum_id, $topic_id); - $mess = sprintf($lang['BT_REGISTERED'], DL_URL . $attach_id); - bb_die($mess); + bb_die(sprintf($lang['BT_REGISTERED'], DL_URL . $attach_id)); } return true;