mirror of
https://github.com/gissleh/irc.git
synced 2026-09-29 00:05:34 +00:00
client: Fixed incorrect comand being sent when parting a closed target.
This commit is contained in:
@@ -600,7 +600,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", channel.Name())
|
||||
client.SendQueuedf("PART %s", channel.Name())
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user