This commit is contained in:
2025-05-28 22:50:29 +02:00
parent 026915fdec
commit ded5c332e2
5 changed files with 98 additions and 5 deletions

View File

@ -81,7 +81,7 @@ func (c *TCPClient) StartClient() {
go func() {
for message := range c.TCPServer.CmdChan {
Log.Infof("Received DX Command: %s", message)
Log.Infof("Received Command: %s", message)
message := message + "\n"
c.WriteString(message)
}
@ -144,7 +144,7 @@ func (c *TCPClient) ReadLine() {
c.Write([]byte(c.Login + "\r\n"))
c.SetFilters()
if Cfg.Cluster.Command != "" {
c.WriteString(Cfg.Cluster.Command)
c.WriteString(Cfg.Cluster.Command + "\n\r")
}
Log.Info("Start receiving spots")
} else if strings.Contains(message, "Error reading from server: read tcp") {