diff --git a/main.go b/main.go index 57895a4..10fcb57 100644 --- a/main.go +++ b/main.go @@ -138,7 +138,7 @@ func SanitizeClusterMessage(message string) ClusterMessage { } func sendTelnetMessage(conn net.Conn, message string) { - if !strings.HasPrefix(message, "XV9Q") { + if !strings.HasPrefix(message, "F4BPO") { time.Sleep(2 * time.Second) } _, err := conn.Write([]byte(message + "\n")) @@ -210,12 +210,12 @@ func main() { // Send Call to ID to the Server if message != "" && strings.Contains("Please enter your call:", message) { - go sendTelnetMessage(conn, "XV9Q-3") + go sendTelnetMessage(conn, "F4BPO-2") login = true } if message != "" && strings.Contains("login:", message) { - go sendTelnetMessage(conn, "XV9Q-3") + go sendTelnetMessage(conn, "F4BPO-2") login = true } @@ -226,7 +226,7 @@ func main() { } // If calls is in the DX List then send a Gotify notification - if sMess.DX != "" && sMess.From == "XV9Q" && strings.Contains(DX, sMess.DX) { + if sMess.DX != "" && sMess.From == "F4BPO" && strings.Contains(DX, sMess.DX) { sendToGotify("Spot", sMess, 5, *cfg) } }