Explorar el Código

bug

tags/v0.11.0.3^2
Shaun hace 2 años
padre
commit
fc96ab3390
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/server/security/router.js

+ 1
- 1
src/server/security/router.js Ver fichero

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


Cargando…
Cancelar
Guardar