Remove Trailing param

This commit is contained in:
Daniel Oaks 2016-12-12 16:19:22 +10:00
parent 7af50d52b9
commit 0293a7f4a5
5 changed files with 69 additions and 67 deletions

View file

@ -179,7 +179,7 @@ func (c *Client) recv() {
switch msg.Command {
case Ping:
go c.write("PONG :" + msg.Trailing)
go c.write("PONG :" + msg.Params[len(msg.Params)-1])
case Join:
if msg.Nick == c.GetNick() {