From 09840fcce88a2dbb2574be51d556b43e43e5bd69 Mon Sep 17 00:00:00 2001 From: Alicia Date: Sat, 23 Feb 2019 16:39:31 +0000 Subject: [PATCH] i --- register.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/register.go b/register.go index 551405c..a573a36 100644 --- a/register.go +++ b/register.go @@ -100,7 +100,7 @@ func registerSubmit(c *gin.Context) { for errr.Next() { i++ } - if errr == 0 { + if i == 0 { registerResp(c, errorMessage{T(c, "Invalid Beta Key.")}) return }