Procházet zdrojové kódy

bug

tags/v0.11.0.3^2
Shaun před 2 roky
rodič
revize
fc96ab3390
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      src/server/security/router.js

+ 1
- 1
src/server/security/router.js Zobrazit soubor

@@ -153,7 +153,7 @@ module.exports = {
const result = this.signatureCorrect(msg, signature);

if (!result || msg.cpn !== 'player' || msg.method !== 'performAction') {
if (result && signature.allowWhenIngame === false && source.name !== undefined)
if (result && signature.allowWhenIngame === false && source?.name !== undefined)
return false;

return result;


Načítá se…
Zrušit
Uložit