diff options
author | Runxi Yu <me@runxiyu.org> | 2024-12-08 10:13:58 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-12-08 10:13:58 +0800 |
commit | 7fe8fe6c9fff814b88929026384f1851ff321781 (patch) | |
tree | 3e79a8579d06047519f1f19843dcc74579060970 /cmd_nick.go | |
parent | Client teardown and proper nick changes (diff) | |
download | meseircd-7fe8fe6c9fff814b88929026384f1851ff321781.tar.gz meseircd-7fe8fe6c9fff814b88929026384f1851ff321781.tar.zst meseircd-7fe8fe6c9fff814b88929026384f1851ff321781.zip |
Registration
Diffstat (limited to 'cmd_nick.go')
-rw-r--r-- | cmd_nick.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd_nick.go b/cmd_nick.go index 89ee4d9..1c847e5 100644 --- a/cmd_nick.go +++ b/cmd_nick.go @@ -28,5 +28,8 @@ func handleClientNick(msg RMsg, client *Client) bool { } client.Nick = msg.Params[0] } + if client.State == ClientStatePreRegistration { + client.checkRegistration() + } return true } |