aboutsummaryrefslogtreecommitdiff
path: root/cmd_nick.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd_nick.go')
-rw-r--r--cmd_nick.go3
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
}