- Timestamp:
- May 26, 2021, 9:04:33 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user.go
r542 r543 523 523 dc.updateSupportedCaps() 524 524 525 if !dc.caps["soju.im/bouncer-networks"] { 526 sendServiceNOTICE(dc, fmt.Sprintf("connected to %s", uc.network.GetName())) 527 } 528 529 dc.updateNick() 530 dc.updateRealname() 531 }) 532 u.forEachDownstream(func(dc *downstreamConn) { 525 533 if dc.caps["soju.im/bouncer-networks-notify"] { 526 534 dc.SendMessage(&irc.Message{ … … 529 537 Params: []string{"NETWORK", netIDStr, "status=connected"}, 530 538 }) 531 } else if !dc.caps["soju.im/bouncer-networks"] {532 sendServiceNOTICE(dc, fmt.Sprintf("connected to %s", uc.network.GetName()))533 539 } 534 535 dc.updateNick()536 dc.updateRealname()537 540 }) 538 541 uc.network.lastError = nil … … 662 665 uc.forEachDownstream(func(dc *downstreamConn) { 663 666 dc.updateSupportedCaps() 664 667 }) 668 u.forEachDownstream(func(dc *downstreamConn) { 665 669 if dc.caps["soju.im/bouncer-networks-notify"] { 666 670 dc.SendMessage(&irc.Message{
Note:
See TracChangeset
for help on using the changeset viewer.