diff options
author | Chaz Brown <iamparadox@netscape.net> | 2009-08-29 05:17:55 -0400 |
---|---|---|
committer | Chaz Brown <iamparadox@netscape.net> | 2009-08-29 05:17:55 -0400 |
commit | 2345c5ca8d431f897d90b290974bc9cdb002a66f (patch) | |
tree | 23a39b3bf476ed5d4adcc9d2ba0b05802327654c /src/trinityrealm/AuthSocket.cpp | |
parent | 594a1f8a36c5f7c5f7292348942d3753fcd8e2dd (diff) |
Change default MOTD text in load from conf (how did this get overlooked?) comment out some nonsense in SetPlayerLimit that was causing the allowedSecurityLevel in realmd to be reset. (I think someone got confused between setting a limit on number of players allowed and the allowed security limit...) You can now Block Players from connecting to certain realms by setting the allowedSecurityLevel in the realmlist - Thanks, raczman for nudging me in the right direction
--HG--
branch : trunk
Diffstat (limited to 'src/trinityrealm/AuthSocket.cpp')
-rw-r--r-- | src/trinityrealm/AuthSocket.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/trinityrealm/AuthSocket.cpp b/src/trinityrealm/AuthSocket.cpp index 06c55f4955e..14dadb1f2e2 100644 --- a/src/trinityrealm/AuthSocket.cpp +++ b/src/trinityrealm/AuthSocket.cpp @@ -473,13 +473,13 @@ bool AuthSocket::_HandleLogonChallenge() uint8 securityFlags = 0; pkt << uint8(securityFlags); // security flags (0x0...0x04) - if(securityFlags & 0x01) // PIN input + if(securityFlags & REALM_AUTH_FAILURE) // PIN input { pkt << uint32(0); pkt << uint64(0) << uint64(0); // 16 bytes hash? } - if(securityFlags & 0x02) // Matrix input + if(securityFlags & REALM_AUTH_UNKNOWN1) // Matrix input { pkt << uint8(0); pkt << uint8(0); @@ -488,7 +488,7 @@ bool AuthSocket::_HandleLogonChallenge() pkt << uint64(0); } - if(securityFlags & 0x04) // Security token input + if(securityFlags & REALM_AUTH_NO_MATCH) // Security token input { pkt << uint8(1); } |