[10465] Fix bad bandate check.

This commit is contained in:
fgenesis 2010-10-19 22:26:52 +02:00 committed by XTZGZoReX
parent 36a6e829b3
commit c46d3bf9b0
2 changed files with 2 additions and 2 deletions

View file

@ -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 ());

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10625"
#define REVISION_NR "10465"
#endif // __REVISION_NR_H__