ZX5GI7ZM5WMGMNWNBYTJNE3T3OSIKASM53PHBPVB73IWGWUBEM5QC
M5GXUK5HZE7HPLWQ33T73CXRJITOUJAO6T6F6QWTYYL7NLWFYA3AC
64UUKXJNHHGNYPQLYPAT74RGYBZNPOHSV7LCWM64K2DJFT5BU6RAC
LNGUDOUQK35O5IIUHSVJ5LW54JA7QNMNCJGQNYWPRDUSK6R4XCLQC
S4P2B3FPF57HPHTIAYGMPCVKB7573IB5ZBKNXVBTB6ICCPF55WNQC
pub fn (self Network) one_line() string { mut summary := '' addr := self.hostnames[0] if self.name.len > 0 { summary = '${self.name}($addr) $self.state' } else { summary = '$addr $self.state' } return summary}
pub fn (self Network) one_line() string {
mut summary := ''
addr := self.hostnames[0]
if self.name.len > 0 {
summary = '${self.name}($addr) $self.state'
} else {
summary = '$addr $self.state'
}
return summary
message: '$ircnet.name $ircnet.state'
message: '$ircnet.one_line()'