NickCallback fix

This commit is contained in:
blackbeard420 2020-01-05 21:35:18 -05:00
parent bd40647c75
commit 29808e44b1

2
irc.go
View File

@ -148,7 +148,7 @@ func (c *Connection) parseMessage(line string) {
}
case "nick":
if c.NickCallback != nil {
c.NickCallback(from, target)
c.NickCallback(from, msg)
}
default:
log.Printf("unhandled command: %s %s %s", cmd, target, msg)