up
This commit is contained in:
@ -126,7 +126,7 @@ func (c *TCPClient) ReadLine() {
|
||||
continue
|
||||
}
|
||||
|
||||
if strings.Contains(message, "Login: \r\n") || strings.Contains(message, "Please enter your call: \r\n") {
|
||||
if strings.Contains(message, Cfg.Cluster.LoginPrompt+" \r\n") {
|
||||
c.Log.Debug("Found login prompt...sending callsign")
|
||||
c.Write([]byte(c.Login + "\r\n"))
|
||||
time.Sleep(time.Second * 2)
|
||||
|
Reference in New Issue
Block a user