Compare commits

..

No commits in common. "a39dadce1a7ef777991ae75c0a46336750c6c39d" and "b680af776e1a1fa23b5076d57341d128f0ec3db4" have entirely different histories.

5 changed files with 4 additions and 9 deletions

Binary file not shown.

View File

@ -17,10 +17,6 @@ type Config struct {
Host string `yaml:"host"` Host string `yaml:"host"`
Call string `yaml:"call"` Call string `yaml:"call"`
} `yaml:"cluster"` } `yaml:"cluster"`
Log struct {
SQLitePath string `yaml:"sqlitePath"`
} `yaml:"log"`
} }
func NewConfig(configPath string) (*Config, error) { func NewConfig(configPath string) (*Config, error) {

View File

@ -6,5 +6,4 @@ cluster:
host: ve7cc.net:23 host: ve7cc.net:23
call: XV9Q call: XV9Q
log: #arc.jg1vgx.net:7000
sqlitePath: "C:\Perso\Seafile\Radio\Logs\Log4OM\Vietnam.SQLite"

2
dx.txt
View File

@ -1 +1 @@
TF2MSN T32AZ DT0IP YN2RP KH8T 9J2AO XT2AW 6O3T 5H1WX 5H3MB CR3W A25AO 5W1SA 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

View File

@ -138,7 +138,7 @@ func SanitizeClusterMessage(message string) ClusterMessage {
} }
func sendTelnetMessage(conn net.Conn, message string) { func sendTelnetMessage(conn net.Conn, message string) {
if message != "XV9Q-5" { if message != "XV9Q-1" {
time.Sleep(2 * time.Second) time.Sleep(2 * time.Second)
} }
_, err := conn.Write([]byte(message + "\n")) _, err := conn.Write([]byte(message + "\n"))
@ -210,7 +210,7 @@ func main() {
// Send Call to ID to the Server // Send Call to ID to the Server
if message != "" && strings.Contains("Please enter your call:", message) { if message != "" && strings.Contains("Please enter your call:", message) {
go sendTelnetMessage(conn, "XV9Q-5") go sendTelnetMessage(conn, "XV9Q-1")
login = true login = true
} }