Shaun пре 2 година
родитељ
комит
fc96ab3390
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      src/server/security/router.js

+ 1
- 1
src/server/security/router.js Прегледај датотеку

@@ -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;


Loading…
Откажи
Сачувај