diff --git a/library/includes/functions.php b/library/includes/functions.php index d4db85468..78474068a 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -2560,6 +2560,9 @@ function create_magnet ($infohash, $auth_key, $logged_in) global $bb_cfg, $_GET, $userdata, $images; $passkey_url = ((!$logged_in || isset($_GET['no_passkey'])) && $bb_cfg['bt_tor_browse_only_reg']) ? '' : "?{$bb_cfg['passkey_key']}=$auth_key"; + if($bb_cfg['ocelot']['enabled']){ + return ''; + } return ''; } @@ -2824,4 +2827,4 @@ function bb_captcha ($mode, $callback = '') bb_simple_die(__FUNCTION__ .": invalid mode '$mode'"); } return false; -} \ No newline at end of file +}