mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-01 07:12:26 +00:00
Fix account_creation
This commit is contained in:
parent
a75db63cbc
commit
85a27cdd74
@ -1361,7 +1361,7 @@ void Client::Handle_Connect_OP_ZoneEntry(const EQApplicationPacket *app)
|
|||||||
database.LoadCharacterFactionValues(cid, factionvalues);
|
database.LoadCharacterFactionValues(cid, factionvalues);
|
||||||
|
|
||||||
/* Load Character Account Data: Temp until I move */
|
/* Load Character Account Data: Temp until I move */
|
||||||
query = StringFormat("SELECT `status`, `name`, `lsaccount_id`, `gmspeed`, `revoked`, `hideme` FROM `account` WHERE `id` = %u", this->AccountID());
|
query = StringFormat("SELECT `status`, `name`, `lsaccount_id`, `gmspeed`, `revoked`, `hideme`, `time_creation` FROM `account` WHERE `id` = %u", this->AccountID());
|
||||||
auto results = database.QueryDatabase(query);
|
auto results = database.QueryDatabase(query);
|
||||||
for (auto row = results.begin(); row != results.end(); ++row) {
|
for (auto row = results.begin(); row != results.end(); ++row) {
|
||||||
admin = atoi(row[0]);
|
admin = atoi(row[0]);
|
||||||
@ -1370,7 +1370,7 @@ void Client::Handle_Connect_OP_ZoneEntry(const EQApplicationPacket *app)
|
|||||||
gmspeed = atoi(row[3]);
|
gmspeed = atoi(row[3]);
|
||||||
revoked = atoi(row[4]);
|
revoked = atoi(row[4]);
|
||||||
gmhideme = atoi(row[5]);
|
gmhideme = atoi(row[5]);
|
||||||
if (account_creation){ account_creation = atoul(row[6]); }
|
account_creation = atoul(row[6]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Load Character Data */
|
/* Load Character Data */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user