mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-22 03:30:26 +00:00
parent
b85bae31d9
commit
1bf46b7711
@ -130,6 +130,10 @@ func (b *Bsshchat) handleSSHChat() error {
|
|||||||
if strings.Contains(b.r.Text(), "Rate limiting is in effect") {
|
if strings.Contains(b.r.Text(), "Rate limiting is in effect") {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
// skip our own messages
|
||||||
|
if !strings.HasPrefix(b.r.Text(), "["+b.GetString("Nick")+"] \x1b") {
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user