diff --git a/irc/client.go b/irc/client.go index 298bc37b..f6bca331 100644 --- a/irc/client.go +++ b/irc/client.go @@ -682,7 +682,7 @@ func (client *Client) run(session *Session) { if err == errInvalidUtf8 { invalidUtf8 = true // handle as normal, including labeling } else if err != nil { - client.server.logger.Debug("connect-ip", "read error from client", err.Error()) + client.server.logger.Debug("connect-ip", session.connID, "read error from client", err.Error()) var quitMessage string switch err { case ircreader.ErrReadQ: