update
This commit is contained in:
parent
f424633083
commit
a394767832
Binary file not shown.
7
main.go
7
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user