mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 00:23:48 +00:00
fix(Core/Auth): Fix uninitialized variable, fixes changing realms aFter logging in to world (#11415)
* …ter logging in to world * upd Co-authored-by: Badanin Roman <r.badanin@etud.univ-pau.fr> Co-Authored-By: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
@@ -847,8 +847,8 @@ bool AuthSession::VerifyVersion(uint8 const* a, int32 aLength, Acore::Crypto::SH
|
||||
if (!sConfigMgr->GetOption<bool>("StrictVersionCheck", false))
|
||||
return true;
|
||||
|
||||
Acore::Crypto::SHA1::Digest zeros;
|
||||
Acore::Crypto::SHA1::Digest const* versionHash = nullptr;
|
||||
Acore::Crypto::SHA1::Digest zeros{};
|
||||
Acore::Crypto::SHA1::Digest const* versionHash{ nullptr };
|
||||
|
||||
if (!isReconnect)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user