mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update announce.php
This commit is contained in:
parent
9325e0e97b
commit
580117517f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue