mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-31 14:17:28 +01:00
Core/Authserver: Fix uninitialized variable, fixes changing realms after logging in to world
This commit is contained in:
@@ -832,7 +832,7 @@ bool AuthSession::VerifyVersion(uint8 const* a, int32 aLength, Trinity::Crypto::
|
||||
if (!sConfigMgr->GetBoolDefault("StrictVersionCheck", false))
|
||||
return true;
|
||||
|
||||
Trinity::Crypto::SHA1::Digest zeros;
|
||||
Trinity::Crypto::SHA1::Digest zeros = { };
|
||||
Trinity::Crypto::SHA1::Digest const* versionHash = nullptr;
|
||||
if (!isReconnect)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user