Don't send connection status NOTICEs with bouncer-networks

This commit is contained in:
Simon Ser 2021-03-10 11:44:10 +01:00
parent 31f2d28508
commit f37a47cc4e
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ func (u *user) run() {
Command: "BOUNCER", Command: "BOUNCER",
Params: []string{"NETWORK", netIDStr, "status=connected"}, Params: []string{"NETWORK", netIDStr, "status=connected"},
}) })
} else { } else if !dc.caps["soju.im/bouncer-networks"] {
sendServiceNOTICE(dc, fmt.Sprintf("connected to %s", uc.network.GetName())) sendServiceNOTICE(dc, fmt.Sprintf("connected to %s", uc.network.GetName()))
} }