mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-09-14 19:45:54 -05:00
GPCM: Fix incorrect open host key
This commit is contained in:
@@ -111,7 +111,7 @@ func GetUniqueUserID() uint64 {
|
||||
func (user *User) UpdateProfile(pool *pgxpool.Pool, ctx context.Context, data map[string]string) {
|
||||
firstName, firstNameExists := data["firstname"]
|
||||
lastName, lastNameExists := data["lastname"]
|
||||
openHost, openHostExists := data["open_host"]
|
||||
openHost, openHostExists := data["wwfc_openhost"]
|
||||
openHostBool := false
|
||||
if openHostExists && openHost != "0" {
|
||||
openHostBool = true
|
||||
|
||||
Reference in New Issue
Block a user