Don't send connection status NOTICEs with bouncer-networks
This commit is contained in:
parent
31f2d28508
commit
f37a47cc4e
2
user.go
2
user.go
@ -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()))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user