diff --git a/PushDXCluster.exe b/PushDXCluster.exe index 243b585..8cc3a5f 100644 Binary files a/PushDXCluster.exe and b/PushDXCluster.exe differ diff --git a/main.go b/main.go index cab2610..57895a4 100644 --- a/main.go +++ b/main.go @@ -138,7 +138,7 @@ func SanitizeClusterMessage(message string) ClusterMessage { } func sendTelnetMessage(conn net.Conn, message string) { - if message != "XV9Q-5" { + if !strings.HasPrefix(message, "XV9Q") { time.Sleep(2 * time.Second) } _, err := conn.Write([]byte(message + "\n")) @@ -214,6 +214,11 @@ func main() { login = true } + if message != "" && strings.Contains("login:", message) { + go sendTelnetMessage(conn, "XV9Q-3") + login = true + } + // Set the FT8, CW, FT4 and only spots from Vietnam filters only once if login && !filters_sent { go sendFilters(conn)