From 7fe8fe6c9fff814b88929026384f1851ff321781 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 8 Dec 2024 10:13:58 +0800 Subject: Registration --- cmd_nick.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmd_nick.go') 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 } -- cgit v1.2.3