mirror of
https://github.com/mangosfour/server.git
synced 2025-12-20 16:37:04 +00:00
[10465] Fix bad bandate check.
This commit is contained in:
parent
36a6e829b3
commit
c46d3bf9b0
2 changed files with 2 additions and 2 deletions
|
|
@ -414,7 +414,7 @@ bool AuthSocket::_HandleLogonChallenge()
|
|||
"id = %u AND active = 1 AND (unbandate > UNIX_TIMESTAMP() OR unbandate = bandate)", (*result)[1].GetUInt32());
|
||||
if(banresult)
|
||||
{
|
||||
if((*banresult)[0].GetUInt64() != (*banresult)[1].GetUInt64())
|
||||
if((*banresult)[0].GetUInt64() == (*banresult)[1].GetUInt64())
|
||||
{
|
||||
pkt << (uint8) WOW_FAIL_BANNED;
|
||||
BASIC_LOG("[AuthChallenge] Banned account %s tries to login!",_login.c_str ());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue