From f86032e68213087b8f087245851b915b5f6acfa6 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 8 Dec 2024 21:34:30 +0800 Subject: Server & Client should only have pointer receivers --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 3f6025a..b17c713 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ func main() { setupCapls() - self = Server{ + self = &Server{ conn: nil, SID: "001", Name: "irc.runxiyu.org", -- cgit v1.2.3