From 7df0612db19cd19991814576beb504cedd02a460 Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 5 Nov 2024 00:29:00 +1100 Subject: [PATCH] Fix for protocols not showing system sysop name and location --- app/Classes/Protocol/Binkp.php | 2 +- app/helpers.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Classes/Protocol/Binkp.php b/app/Classes/Protocol/Binkp.php index 57a5e8a..9de93ad 100644 --- a/app/Classes/Protocol/Binkp.php +++ b/app/Classes/Protocol/Binkp.php @@ -195,7 +195,7 @@ final class Binkp extends BaseProtocol $this->msgs(self::BPM_NUL,sprintf('NDL %d,TCP,BINKP',$this->client->speed)); $this->msgs(self::BPM_NUL,sprintf('TIME %s',Carbon::now()->toRfc2822String())); $this->msgs(self::BPM_NUL, - sprintf('VER %s-%s %s/%s',Setup::PRODUCT_NAME_SHORT,Setup::version(),self::PROT,self::VERSION)); + sprintf('VER %s/%s %s/%s',Setup::PRODUCT_NAME_SHORT,Setup::version(),self::PROT,self::VERSION)); if ($this->originate) { $opt = $this->capGet(self::F_NOREL,self::O_WANT) ? ' NR' : ''; diff --git a/app/helpers.php b/app/helpers.php index aedc087..fbfb368 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -98,7 +98,7 @@ function our_address(Domain|Address $o=NULL): Collection|Address|NULL $so = Config::get('setup'); $so->loadMissing([ - 'system:id,name', + 'system:id,name,sysop,location', 'system.akas:addresses.id,addresses.zone_id,region_id,host_id,node_id,point_id,addresses.system_id,addresses.active,role', 'system.akas.zone:id,domain_id,zone_id', 'system.akas.zone.domain:id,name',