Browse Source

Fixed auto-PART not working when closing channel target.

master
Gisle Aune 6 years ago
parent
commit
8e13fe507e
  1. 2
      client.go

2
client.go

@ -510,7 +510,7 @@ func (client *Client) RemoveTarget(target Target) (id string, err error) {
// Ensure the channel has been parted
if channel, ok := target.(*Channel); ok && !channel.parted {
client.SendQueuedf("/part %s")
client.SendQueuedf("/part %s", channel.Name())
}
return

Loading…
Cancel
Save