From 6112236593e0685877ddd60c8ab6fdd4428733cd Mon Sep 17 00:00:00 2001 From: Andy Walker Date: Thu, 30 Jul 2015 12:57:48 -0400 Subject: [PATCH] fix multi-kick Spec defines multiple users as joined by spaces not commas --- irc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc.go b/irc.go index 3d3be3e..16e3b58 100644 --- a/irc.go +++ b/irc.go @@ -261,7 +261,7 @@ func (irc *Connection) Kick(user, channel, msg string) { // empty string ("") func (irc *Connection) MultiKick(users []string, channel string, msg string) { var cmd bytes.Buffer - cmd.WriteString(fmt.Sprintf("KICK %s %s", channel, strings.Join(users, " "))) + cmd.WriteString(fmt.Sprintf("KICK %s %s", channel, strings.Join(users, ","))) if msg != "" { cmd.WriteString(fmt.Sprintf(" :%s", msg)) }