Change joins with a collection to use collection joins
This commit is contained in:
@@ -144,7 +144,7 @@ final class Binkp extends BaseProtocol
|
||||
// If we are originating, we'll show the remote our address in the same network
|
||||
// @todo Implement hiding our AKAs not in this network.
|
||||
if ($this->originate)
|
||||
$this->msgs(self::BPM_ADR,join(' ',$this->setup->system->addresses->pluck('ftn')->toArray()));
|
||||
$this->msgs(self::BPM_ADR,$this->setup->system->addresses->pluck('ftn')->join(' '));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -667,7 +667,7 @@ final class Binkp extends BaseProtocol
|
||||
// If we are not the originator, we'll show our addresses in common.
|
||||
// @todo make this an option to hideAKAs or not
|
||||
if (! $this->originate)
|
||||
$this->msgs(self::BPM_ADR,join(' ',$this->setup->system->addresses->pluck('ftn')->toArray()));
|
||||
$this->msgs(self::BPM_ADR,$this->setup->system->addresses->pluck('ftn')->join(' '));
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
@@ -184,7 +184,7 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface
|
||||
// Site address, password and compatibility
|
||||
// @todo Only show the AKAs that is relevant to the node we are connecting to
|
||||
$makedata .= sprintf('{EMSI}{%s}{%s}{%s}{%s}',
|
||||
join(' ',$this->setup->system->addresses->pluck('ftn')->toArray()),
|
||||
$this->setup->system->addresses->pluck('ftn')->join(' '),
|
||||
$this->node->password == '-' ? '' : $this->node->password,
|
||||
join(',',$link_codes),
|
||||
join(',',$compat_codes),
|
||||
|
Reference in New Issue
Block a user