diff options
-rw-r--r-- | clients.go | 2 | ||||
-rw-r--r-- | main.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -27,7 +27,7 @@ func (client *Client) SendRaw(s string) error { if client.conn == nil { panic("not implemented") } - slog.Debug("send", "line", s, "conn", client.conn) + slog.Debug("send", "line", s, "client", client.CID) _, err := (*client.conn).Write([]byte(s)) if err != nil { // TODO: Should shut down the netFd instead but the stdlib @@ -62,7 +62,7 @@ messageLoop: (*client.conn).Close() return } - slog.Debug("recv", "line", line, "conn", client.conn) + slog.Debug("recv", "line", line, "client", client.CID) msg, err := parseIRCMsg(line) if err != nil { switch err { |