update
This commit is contained in:
5
spot.go
5
spot.go
@@ -17,6 +17,7 @@ type TelnetSpot struct {
|
||||
Band string
|
||||
Time string
|
||||
DXCC string
|
||||
CountryName string
|
||||
Comment string
|
||||
CommandNumber int
|
||||
FlexSpotNumber int
|
||||
@@ -43,7 +44,9 @@ func ProcessTelnetSpot(re *regexp.Regexp, spotRaw string, SpotChanToFlex chan Te
|
||||
Time: match[6],
|
||||
}
|
||||
|
||||
spot.DXCC = GetDXCC(spot.DX, Countries)
|
||||
DXCC := GetDXCC(spot.DX, Countries)
|
||||
spot.DXCC = DXCC.DXCC
|
||||
spot.CountryName = DXCC.CountryName
|
||||
|
||||
if spot.DXCC == "" {
|
||||
Log.Errorf("Could not identify the DXCC for %s", spot.DX)
|
||||
|
Reference in New Issue
Block a user