mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-27 16:32:27 +00:00
Merge f289dffc488bc8890ca1bf63b67ad265c28b178a into 2bde0b40bb417fafbbb39a1055e268f9cb075822
This commit is contained in:
commit
d3eea23147
@ -304,7 +304,11 @@ int16 Database::CheckStatus(uint32 account_id)
|
|||||||
|
|
||||||
int16 status = atoi(row[0]);
|
int16 status = atoi(row[0]);
|
||||||
|
|
||||||
int32 suspendeduntil = atoi(row[1]);
|
int32 suspendeduntil = 0;
|
||||||
|
// MariaDB initalizes with NULL if unix_timestamp() is out of range
|
||||||
|
if (row[1] != NULL) {
|
||||||
|
suspendeduntil = atoi(row[1]);
|
||||||
|
}
|
||||||
|
|
||||||
int32 current = atoi(row[2]);
|
int32 current = atoi(row[2]);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user