From f37a47cc4e29822375805a22af5ab0234021fb4d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 10 Mar 2021 11:44:10 +0100 Subject: [PATCH] Don't send connection status NOTICEs with bouncer-networks --- user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.go b/user.go index e16abef..1d64b4c 100644 --- a/user.go +++ b/user.go @@ -524,7 +524,7 @@ func (u *user) run() { Command: "BOUNCER", 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())) }