Browse Source

Merge remote-tracking branch 'origin/master' into release

tags/v0.11.0.3
Shaun 2 years ago
parent
commit
f2ae164a58
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/server/security/router.js

+ 1
- 1
src/server/security/router.js View File

@@ -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…
Cancel
Save