diff options
author | Runxi Yu <me@runxiyu.org> | 2024-12-08 09:20:23 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-12-08 09:20:23 +0800 |
commit | 43e7a5479e120d13fd6c4bc76d1da00ba9ff2668 (patch) | |
tree | 7453074d6091728e26c4410503381a5ecbe52306 /cmd_user.go | |
parent | Omit msg.Tags nil check (diff) | |
download | meseircd-43e7a5479e120d13fd6c4bc76d1da00ba9ff2668.tar.gz meseircd-43e7a5479e120d13fd6c4bc76d1da00ba9ff2668.tar.zst meseircd-43e7a5479e120d13fd6c4bc76d1da00ba9ff2668.zip |
Reformat
Diffstat (limited to 'cmd_user.go')
-rw-r--r-- | cmd_user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd_user.go b/cmd_user.go index 3db56c7..06fd7a3 100644 --- a/cmd_user.go +++ b/cmd_user.go @@ -13,7 +13,7 @@ func handleClientUser(msg RMsg, client *Client) bool { client.Send(MakeMsg(self, ERR_NEEDMOREPARAMS, "USER", "Not enough parameters")) return true } - switch (client.State) { + switch client.State { case ClientStatePreRegistration: client.Ident = "~" + msg.Params[0] client.Gecos = msg.Params[3] |