Fix errors, fixing spacing

This commit is contained in:
ArkSeyonet
2020-04-07 19:38:10 -05:00
parent d69c1e0d8b
commit 2e04fd92b9
+7 -7
View File
@@ -71,7 +71,7 @@ AddEventHandler("playerConnecting", function(name, setKickReason, deferrals)
}
deferrals.done()
else
deferrals.done(_U('invalid_format')
deferrals.done(_U('invalid_format'))
end
end
end)
@@ -208,12 +208,12 @@ end
function SetIdentity(identifier, identity)
MySQL.Async.execute('UPDATE users SET firstname = @firstname, lastname = @lastname, dateofbirth = @dateofbirth, sex = @sex, height = @height WHERE identifier = @identifier', {
['@identifier'] = identifier,
['@firstname'] = identity.firstName,
['@lastname'] = identity.lastName,
['@dateofbirth'] = identity.dateOfBirth,
['@sex'] = identity.sex,
['@height'] = identity.height
['@identifier'] = identifier,
['@firstname'] = identity.firstName,
['@lastname'] = identity.lastName,
['@dateofbirth'] = identity.dateOfBirth,
['@sex'] = identity.sex,
['@height'] = identity.height
})
tempIdentity[identifier] = nil