aboutsummaryrefslogtreecommitdiff
path: root/cmd_cap.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-08 09:20:23 +0800
committerRunxi Yu <me@runxiyu.org>2024-12-08 09:20:23 +0800
commit43e7a5479e120d13fd6c4bc76d1da00ba9ff2668 (patch)
tree7453074d6091728e26c4410503381a5ecbe52306 /cmd_cap.go
parentOmit msg.Tags nil check (diff)
downloadmeseircd-43e7a5479e120d13fd6c4bc76d1da00ba9ff2668.tar.gz
meseircd-43e7a5479e120d13fd6c4bc76d1da00ba9ff2668.tar.zst
meseircd-43e7a5479e120d13fd6c4bc76d1da00ba9ff2668.zip
Reformat
Diffstat (limited to 'cmd_cap.go')
-rw-r--r--cmd_cap.go2
1 files changed, 1 insertions, 1 deletions
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":