mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 16:25:59 +01:00
parent
0e5f14d8d2
commit
5a90911b70
1 changed files with 3 additions and 1 deletions
|
@ -310,7 +310,9 @@ eHeadersErrors CPluginManager::headersValid() {
|
||||||
hash = hash.substr(hash.find_first_of('"') + 1);
|
hash = hash.substr(hash.find_first_of('"') + 1);
|
||||||
hash = hash.substr(0, hash.find_first_of('"'));
|
hash = hash.substr(0, hash.find_first_of('"'));
|
||||||
|
|
||||||
if (hash != HLVER.hash)
|
auto GLOBALSTATE = DataState::getGlobalState();
|
||||||
|
|
||||||
|
if (hash != HLVER.hash || hash != GLOBALSTATE.headersHashCompiled)
|
||||||
return HEADERS_MISMATCHED;
|
return HEADERS_MISMATCHED;
|
||||||
|
|
||||||
return HEADERS_OK;
|
return HEADERS_OK;
|
||||||
|
|
Loading…
Reference in a new issue