From d42df0d7a057d6efef315919a178600655d6a2b6 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Tue, 27 Nov 2018 17:58:44 +0100 Subject: [PATCH] client: Fixed incorrect comand being sent when parting a closed target. --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 936d9a6..654da4c 100644 --- a/client.go +++ b/client.go @@ -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