diff options
author | delthas <delthas@dille.cc> | 2021-11-15 17:01:12 +0100 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtz.pm> | 2021-11-16 22:28:37 +0100 |
commit | 56fce9e433a78547e2d92ebef92cab62eaa1c1a7 (patch) | |
tree | 783f4f5a3ec0faaa3bebf28e6632fc056a80816b /app.go | |
parent | Authenticate on CAP NEW sasl (diff) |
Fix part-ing a channel with duplicate name in other networks
If there are multiple channels with the same name in several networks,
we should part from the one from the correct network.
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -673,7 +673,7 @@ func (app *App) handleIRCEvent(netID string, ev interface{}) { Mergeable: true, }) case irc.SelfPartEvent: - app.win.RemoveBuffer(ev.Channel) + app.win.RemoveBuffer(netID, ev.Channel) delete(app.messageBounds, boundKey{netID, ev.Channel}) case irc.UserPartEvent: var body ui.StyledStringBuilder |