mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Simplified IPHelper (#712)
This commit is contained in:
parent
8a5bac558f
commit
d9d38935b6
11 changed files with 17 additions and 90 deletions
|
@ -577,7 +577,7 @@ function bt_show_ip($ip, $port = '')
|
|||
global $bb_cfg;
|
||||
|
||||
if (IS_AM) {
|
||||
$ip = \TorrentPier\Helpers\IPHelper::decodeIP($ip);
|
||||
$ip = \TorrentPier\Helpers\IPHelper::long2ip($ip);
|
||||
$ip .= ($port) ? ":$port" : '';
|
||||
return $ip;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue