aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Server/AuthSession.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-07-22 20:15:11 +0200
committerShauren <shauren.trinity@gmail.com>2014-07-22 20:15:11 +0200
commit0b236d480a9ff5e75da966e50c144d3bcce9b1fa (patch)
treec841184e1c86de2da35c082e4a9d6e3ef4e24f22 /src/server/authserver/Server/AuthSession.cpp
parenta08f931d42812540cec7e7e946d6a14e6ea2e218 (diff)
Core/Authserver: Fixed changing realms
Diffstat (limited to 'src/server/authserver/Server/AuthSession.cpp')
-rw-r--r--src/server/authserver/Server/AuthSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/authserver/Server/AuthSession.cpp b/src/server/authserver/Server/AuthSession.cpp
index 987d6dca03f..9bd9313059a 100644
--- a/src/server/authserver/Server/AuthSession.cpp
+++ b/src/server/authserver/Server/AuthSession.cpp
@@ -145,7 +145,7 @@ void AuthSession::AsyncReadHeader()
if ((uint8)entry.cmd == _readBuffer[0] && (entry.status == STATUS_CONNECTED || (_isAuthenticated && entry.status == STATUS_AUTHED)))
{
// Handle dynamic size packet
- if (_readBuffer[0] == AUTH_LOGON_CHALLENGE)
+ if (_readBuffer[0] == AUTH_LOGON_CHALLENGE || _readBuffer[0] == AUTH_RECONNECT_CHALLENGE)
{
_socket.read_some(boost::asio::buffer(&_readBuffer[1], sizeof(uint8) + sizeof(uint16))); //error + size