Update announce.php

This commit is contained in:
Roman Kelesidis 2024-10-12 12:56:01 +07:00
commit 580117517f

View file

@ -68,7 +68,7 @@ if (strlen($peer_id) !== 20) {
if ($bb_cfg['client_ban']['enabled']) {
foreach ($bb_cfg['client_ban']['clients'] as $clientId => $reason) {
if (str_starts_with($peer_id, $clientId)) {
msg_die(empty($reason) ? $lang['BT_TOR_CLIENT_BLOCKED'] : $reason);
msg_die(empty($reason) ? 'Your BitTorrent client has been banned!' : $reason);
}
}
}