SSH-Chat: do not relay "Rate limiting is in effect" message
This commit is contained in:
@@ -128,6 +128,9 @@ func (b *Bsshchat) handleSSHChat() error {
|
|||||||
if !strings.Contains(b.r.Text(), "\033[K") {
|
if !strings.Contains(b.r.Text(), "\033[K") {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if strings.Contains(b.r.Text(), "Rate limiting is in effect") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
res := strings.Split(stripPrompt(b.r.Text()), ":")
|
res := strings.Split(stripPrompt(b.r.Text()), ":")
|
||||||
if res[0] == "-> Set theme" {
|
if res[0] == "-> Set theme" {
|
||||||
wait = false
|
wait = false
|
||||||
|
|||||||
Reference in New Issue
Block a user