mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
reverted last commit
The last commit was broken.
This commit is contained in:
parent
405cb22058
commit
7d722753d6
1 changed files with 2 additions and 2 deletions
|
|
@ -421,8 +421,8 @@ bool AuthSocket::_HandleLogonChallenge()
|
|||
if (!locked)
|
||||
{
|
||||
///- If the account is banned, reject the logon attempt
|
||||
QueryResult* banresult = LoginDatabase.PQuery("SELECT bandate,unbandate FROM account_banned WHERE
|
||||
id = %u AND active = '1' AND (unbandate > UNIX_TIMESTAMP() OR unbandate = bandate)", (*result)[1].GetUInt32());
|
||||
QueryResult* banresult = LoginDatabase.PQuery("SELECT bandate,unbandate FROM account_banned WHERE "
|
||||
"id = %u AND active = 1 AND (unbandate > UNIX_TIMESTAMP() OR unbandate = bandate)", (*result)[1].GetUInt32());
|
||||
if (banresult)
|
||||
{
|
||||
if ((*banresult)[0].GetUInt64() == (*banresult)[1].GetUInt64())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue