our_address() now takes a domain name - missed it for hub stats

This commit is contained in:
Deon George 2023-12-14 10:34:24 +11:00
parent aae551aacf
commit 5d88a5e10e
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class HubStats extends Dynamic
$header = "| %-12s | %4d | %3d | %3d | %16s | %5s | %5s |\r\n";
$output = sprintf("Hub Status for [%s] as at [%s]\r\n",our_address($this->ao->zone)->where('active',TRUE)->first()->ftn,$date);
$output = sprintf("Hub Status for [%s] as at [%s]\r\n",our_address($this->ao->zone->domain)->where('active',TRUE)->first()->ftn,$date);
$output .= "\r";
$output .= "+--------------+------+-----+-----+------------------+-------+-------+\r\n";
$output .= "| FTN | ECHO | NET |FILES| LAST SESSION | MODE |AUTOHLD|\r\n";