Fixed server starting.
This commit is contained in:
@@ -3866,7 +3866,7 @@ namespace Game.AI
|
|||||||
[FieldOffset(20)]
|
[FieldOffset(20)]
|
||||||
public Raw raw;
|
public Raw raw;
|
||||||
|
|
||||||
[FieldOffset(36)]
|
[FieldOffset(40)]
|
||||||
public string param_string;
|
public string param_string;
|
||||||
|
|
||||||
#region Structs
|
#region Structs
|
||||||
|
|||||||
@@ -504,6 +504,7 @@ namespace Game.Networking
|
|||||||
// Check that Key and account name are the same on client and server
|
// Check that Key and account name are the same on client and server
|
||||||
if (!hmac.Digest.Compare(authSession.Digest))
|
if (!hmac.Digest.Compare(authSession.Digest))
|
||||||
{
|
{
|
||||||
|
SendAuthResponseError(BattlenetRpcErrorCode.Denied);
|
||||||
Log.outError(LogFilter.Network, "WorldSocket.HandleAuthSession: Authentication failed for account: {0} ('{1}') address: {2}", account.game.Id, authSession.RealmJoinTicket, address);
|
Log.outError(LogFilter.Network, "WorldSocket.HandleAuthSession: Authentication failed for account: {0} ('{1}') address: {2}", account.game.Id, authSession.RealmJoinTicket, address);
|
||||||
CloseSocket();
|
CloseSocket();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user