our_address() now takes a domain name - missed it for hub stats
This commit is contained in:
parent
aae551aacf
commit
5d88a5e10e
@ -62,7 +62,7 @@ class HubStats extends Dynamic
|
|||||||
|
|
||||||
$header = "| %-12s | %4d | %3d | %3d | %16s | %5s | %5s |\r\n";
|
$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";
|
||||||
$output .= "+--------------+------+-----+-----+------------------+-------+-------+\r\n";
|
$output .= "+--------------+------+-----+-----+------------------+-------+-------+\r\n";
|
||||||
$output .= "| FTN | ECHO | NET |FILES| LAST SESSION | MODE |AUTOHLD|\r\n";
|
$output .= "| FTN | ECHO | NET |FILES| LAST SESSION | MODE |AUTOHLD|\r\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user