Fixed LIST for weechat

This commit is contained in:
Harry Jeffery 2013-10-21 13:27:10 +01:00
parent a62ddb6cf4
commit 860073fbf3

View File

@ -160,7 +160,6 @@ func (c *Client) reply(code replyCode, args ...string) {
case rplMsg:
c.outputChan <- fmt.Sprintf(":%s PRIVMSG %s %s", args[0], args[1], args[2])
case rplList:
c.outputChan <- fmt.Sprintf(":%s 321 %s", c.server.name, c.nick)
for _, listItem := range args {
c.outputChan <- fmt.Sprintf(":%s 322 %s %s", c.server.name, c.nick, listItem)
}