mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update announce.php
This commit is contained in:
parent
782ad4ed65
commit
b0fd84f334
@ -80,7 +80,7 @@ if (!isset($info_hash) || strlen($info_hash) != 20)
|
||||
}
|
||||
if (!isset($peer_id) || strlen($peer_id) != 20)
|
||||
{
|
||||
msg_die('Invalid peer_id: ' . bin2hex($peer_id));
|
||||
msg_die('Invalid peer_id: ' . $peer_id);
|
||||
}
|
||||
if (!isset($port) || $port < 0 || $port > 0xFFFF)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user