mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 01:35:12 +00:00
more cleanup from the mess yesterday - you might have a look for xchan_addr and hubloc_addr with slashes in them and fix them - especially getting rid of ip addresses and the /channel/xyz in the addr fields
This commit is contained in:
parent
2f2a316b27
commit
7a8363c328
1 changed files with 3 additions and 0 deletions
|
@ -606,6 +606,9 @@ function import_xchan($arr) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if(strpos($location['address'],'/') !== false)
|
||||
$location['address'] = substr($location['address'],0,strpos($location['address'],'/'));
|
||||
|
||||
// new hub claiming to be primary. Make it so.
|
||||
|
||||
if(intval($location['primary'])) {
|
||||
|
|
Loading…
Reference in a new issue