Fixed NAMES command for weechat
This commit is contained in:
parent
c90f9b92ce
commit
a62ddb6cf4
@ -152,7 +152,7 @@ func (c *Client) reply(code replyCode, args ...string) {
|
|||||||
case rplNames:
|
case rplNames:
|
||||||
//TODO: break long lists up into multiple messages
|
//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 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:
|
case rplNickChange:
|
||||||
c.outputChan <- fmt.Sprintf(":%s NICK %s", args[0], args[1])
|
c.outputChan <- fmt.Sprintf(":%s NICK %s", args[0], args[1])
|
||||||
case rplKill:
|
case rplKill:
|
||||||
|
Loading…
Reference in New Issue
Block a user