From 43e7a5479e120d13fd6c4bc76d1da00ba9ff2668 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 8 Dec 2024 09:20:23 +0800 Subject: Reformat --- cmd_cap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd_cap.go') diff --git a/cmd_cap.go b/cmd_cap.go index 45aaacc..a984c07 100644 --- a/cmd_cap.go +++ b/cmd_cap.go @@ -13,7 +13,7 @@ func handleClientCap(msg RMsg, client *Client) bool { client.Send(MakeMsg(self, ERR_NEEDMOREPARAMS, "CAP", "Not enough parameters")) return true } - switch (strings.ToUpper(msg.Params[0])) { + switch strings.ToUpper(msg.Params[0]) { case "LS": client.Send(MakeMsg(self, "CAP", client.Nick, "LS", "sasl=PLAIN,EXTERNAL")) case "REQ": -- cgit v1.2.3