X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ac3670b33981698a02c5e95ab4f11cb3fe57562d..040deac4b8ae0728e3ff7635bb16595ec08d5817:/projects/stargazer/plugins/store/postgresql/postgresql_store_users.cpp diff --git a/projects/stargazer/plugins/store/postgresql/postgresql_store_users.cpp b/projects/stargazer/plugins/store/postgresql/postgresql_store_users.cpp index 1ab5d0e8..519074b1 100644 --- a/projects/stargazer/plugins/store/postgresql/postgresql_store_users.cpp +++ b/projects/stargazer/plugins/store/postgresql/postgresql_store_users.cpp @@ -565,7 +565,7 @@ if (PQresultStatus(result) != PGRES_COMMAND_OK) PQclear(result); -if (SaveUserServices(uid, conf.services)) +if (SaveUserServices(uid, conf.service)) { printfd(__FILE__, "POSTGRESQL_STORE::SaveUserConf(): 'Failed to save user's services'\n"); if (RollbackTransaction()) @@ -884,7 +884,7 @@ tuples = PQntuples(result); for (int i = 0; i < tuples; ++i) { - conf->services.push_back(PQgetvalue(result, i, 0)); + conf->service.push_back(PQgetvalue(result, i, 0)); } PQclear(result);