fix compatiblity with older entries
This commit is contained in:
parent
e13a00c42a
commit
2de0326be5
1 changed files with 0 additions and 4 deletions
|
|
@ -83,10 +83,6 @@ func getFmsListe(messageParts []string) string {
|
|||
err = database.Db.Where("radio_name = ?", status.Name).First(&radioCallSign).Error
|
||||
if err != nil {
|
||||
log.Log.Error("Failed retreiving radio call sign: ", err.Error())
|
||||
return "Internal error"
|
||||
}
|
||||
if radioCallSign.RadioName == "" {
|
||||
log.Log.Info("No radio definition for ", status.Name, " skipping")
|
||||
continue
|
||||
}
|
||||
response += fmt.Sprintf("SetFMSListe\t%s\tBF/FF\tSTATE\tCITY\t%s\tFZ->LST\t%s\t\t%d\tman\t%s\t0,0\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue