diff --git a/PushDXCluster.exe b/PushDXCluster.exe index acd9b25..243b585 100644 Binary files a/PushDXCluster.exe and b/PushDXCluster.exe differ diff --git a/config.go b/config.go index 7a4f4d0..d7f019f 100644 --- a/config.go +++ b/config.go @@ -17,6 +17,10 @@ type Config struct { Host string `yaml:"host"` Call string `yaml:"call"` } `yaml:"cluster"` + + Log struct { + SQLitePath string `yaml:"sqlitePath"` + } `yaml:"log"` } func NewConfig(configPath string) (*Config, error) { diff --git a/config.yml b/config.yml index 1634045..95b510b 100644 --- a/config.yml +++ b/config.yml @@ -6,4 +6,5 @@ cluster: host: ve7cc.net:23 call: XV9Q -#arc.jg1vgx.net:7000 \ No newline at end of file +log: + sqlitePath: "C:\Perso\Seafile\Radio\Logs\Log4OM\Vietnam.SQLite" \ No newline at end of file diff --git a/database.gp b/database.gp deleted file mode 100644 index c9ecbf5..0000000 --- a/database.gp +++ /dev/null @@ -1,2 +0,0 @@ -package main - diff --git a/dx.txt b/dx.txt index ad20a6d..85f0f44 100644 --- a/dx.txt +++ b/dx.txt @@ -1 +1 @@ -8P9CB ZC4GW TM5FI VP2V/W5GI VP9/AB2E 8Q7KR 8Q7KB TF2MSN FW1JG CO8BLY OD5KU 5U5K S21ZI K8K 8Q7EC OX3LX FP/KV1J TO7PX S79/HA8PX JW/WE9G ZC4MK K8R 7E4K E51KEE E51CZZ DT0IP YN2RP VK2/W7BRS K8K 3W9A S21AF \ No newline at end of file +TF2MSN T32AZ DT0IP YN2RP KH8T 9J2AO XT2AW 6O3T 5H1WX 5H3MB CR3W A25AO 5W1SA \ No newline at end of file diff --git a/main.go b/main.go index da3d4bb..49dde40 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-1" { + if message != "XV9Q-5" { time.Sleep(2 * time.Second) } _, err := conn.Write([]byte(message + "\n")) @@ -210,7 +210,7 @@ func main() { // Send Call to ID to the Server if message != "" && strings.Contains("Please enter your call:", message) { - go sendTelnetMessage(conn, "XV9Q-1") + go sendTelnetMessage(conn, "XV9Q-5") login = true }