From a62ddb6cf4666fcaed89c13b8547ff3407b9b21b Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Mon, 21 Oct 2013 13:25:39 +0100 Subject: [PATCH] Fixed NAMES command for weechat --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index d52c8d9..0e79fe9 100644 --- a/client.go +++ b/client.go @@ -152,7 +152,7 @@ func (c *Client) reply(code replyCode, args ...string) { case rplNames: //TODO: break long lists up into multiple messages c.outputChan <- fmt.Sprintf(":%s 353 %s = %s :%s", c.server.name, c.nick, args[0], args[1]) - c.outputChan <- fmt.Sprintf(":%s 366 %s", c.server.name, c.nick) + c.outputChan <- fmt.Sprintf(":%s 366 %s %s :End of NAMES list", c.server.name, c.nick, args[0]) case rplNickChange: c.outputChan <- fmt.Sprintf(":%s NICK %s", args[0], args[1]) case rplKill: