From 60dfab55227e9452abe35765dbae6d191a8f5406 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 12 Dec 2024 06:46:49 +0800 Subject: Use CID instead of connection pointers while logging --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 5fa4cad..ecfb4c5 100644 --- a/main.go +++ b/main.go @@ -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 { -- cgit v1.2.3