Update functions.php

This commit is contained in:
Roman Kelesidis 2023-10-24 00:32:26 +07:00
parent d69a112e5d
commit 201689de27

View File

@ -2579,6 +2579,11 @@ function create_magnet ($infohash, $auth_key, $name)
{
global $bb_cfg, $images, $lang, $userdata;
if (!$bb_cfg['magnet_links_enabled'])
{
return false;
}
if (IS_GUEST && $bb_cfg['bt_tor_browse_only_reg'])
{
$passkey = '';