aboutsummaryrefslogtreecommitdiff
path: root/src/trinityrealm/AuthSocket.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2010-04-11 11:24:59 +0400
committern0n4m3 <none@none>2010-04-11 11:24:59 +0400
commit0d48d3bd8c0569968a8775b471752782831e8b03 (patch)
tree18b3de6ebd0a7a068b8fe8fb279d7e1254f6bfcf /src/trinityrealm/AuthSocket.cpp
parent45e750148a256333b49dae7b2725eb815ba4089d (diff)
Fix some typo and compile errors.
--HG-- branch : trunk
Diffstat (limited to 'src/trinityrealm/AuthSocket.cpp')
-rw-r--r--src/trinityrealm/AuthSocket.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/trinityrealm/AuthSocket.cpp b/src/trinityrealm/AuthSocket.cpp
index caff730e64a..6f4f9670514 100644
--- a/src/trinityrealm/AuthSocket.cpp
+++ b/src/trinityrealm/AuthSocket.cpp
@@ -466,13 +466,13 @@ bool AuthSocket::_HandleLogonChallenge()
uint8 securityFlags = 0;
pkt << uint8(securityFlags); // security flags (0x0...0x04)
- if (securityFlags & REALM_AUTH_FAILURE) // PIN input
+ if (securityFlags & 0x01) // PIN input
{
pkt << uint32(0);
pkt << uint64(0) << uint64(0); // 16 bytes hash?
}
- if (securityFlags & REALM_AUTH_UNKNOWN1) // Matrix input
+ if (securityFlags & 0x02) // Matrix input
{
pkt << uint8(0);
pkt << uint8(0);
@@ -481,7 +481,7 @@ bool AuthSocket::_HandleLogonChallenge()
pkt << uint64(0);
}
- if (securityFlags & WOW_FAIL_UNKNOWN_ACCOUNT) // Security token input
+ if (securityFlags & 0x04) // Security token input
pkt << uint8(1);
uint8 secLevel = (*result)[4].GetUInt8();