mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +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 ());
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10625"
|
||||
#define REVISION_NR "10465"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue