fix: /B was not recognized in the cluster
This commit is contained in:
@@ -303,11 +303,12 @@ func normalizeCallsign(s string) string {
|
||||
if p == "" {
|
||||
continue
|
||||
}
|
||||
// A TRAILING /MM (maritime) or /AM (aeronautical) mobile is stripped and
|
||||
// the operator's home entity is kept, so the contact still resolves to a
|
||||
// country in the log (e.g. YB1SCY/AM → Indonesia). A LEADING "MM" is the
|
||||
// Scotland operating prefix (MM/F4NIE) and must NOT be stripped.
|
||||
if i > 0 && (p == "MM" || p == "AM") {
|
||||
// A TRAILING /MM (maritime) or /AM (aeronautical) mobile, or /B (beacon), is
|
||||
// stripped and the operator's home entity is kept, so the contact still
|
||||
// resolves to a country in the log (e.g. YB1SCY/AM → Indonesia, 4U1UN/B →
|
||||
// 4U1UN → United Nations HQ). A LEADING "MM"/"B" is a PREFIX (MM = Scotland,
|
||||
// B = China: B/F4NIE) and must NOT be stripped.
|
||||
if i > 0 && (p == "MM" || p == "AM" || p == "B") {
|
||||
continue
|
||||
}
|
||||
if suffixModifiers[p] {
|
||||
|
||||
Reference in New Issue
Block a user