From ebffb995c6581724b0b6760bf0c68f0f9d0c4160 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 12 Dec 2024 06:44:47 +0800 Subject: Use uint32 for SIDs, uint64 for CIDs --- cmd_cap.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmd_cap.go') diff --git a/cmd_cap.go b/cmd_cap.go index ce70abc..1f641f4 100644 --- a/cmd_cap.go +++ b/cmd_cap.go @@ -33,6 +33,9 @@ func handleClientCap(msg RMsg, client *Client) error { } else { err = client.Send(MakeMsg(self, "CAP", client.Nick, "LS", capls)) } + if err != nil { + return err + } } else { err = client.Send(MakeMsg(self, "CAP", client.Nick, "LS", capls)) } -- cgit v1.2.3