aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-12 06:46:49 +0800
committerRunxi Yu <me@runxiyu.org>2024-12-12 06:46:49 +0800
commit60dfab55227e9452abe35765dbae6d191a8f5406 (patch)
treee06a9c7277f87366391aae493e796483b54e333e /main.go
parentUse uint32 for SIDs, uint64 for CIDs (diff)
downloadmeseircd-60dfab55227e9452abe35765dbae6d191a8f5406.tar.gz
meseircd-60dfab55227e9452abe35765dbae6d191a8f5406.tar.zst
meseircd-60dfab55227e9452abe35765dbae6d191a8f5406.zip
Use CID instead of connection pointers while logging
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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 {