Browse Source

bug #1837

(cherry picked from commit e0c0408e24)
tags/v0.10.3
Shaun 2 years ago
committed by Big Bad Waffle
parent
commit
ff338f6cd3
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/server/server/onConnection.js

+ 4
- 0
src/server/server/onConnection.js View File

@@ -20,11 +20,15 @@ const onRequest = (socket, msg, callback) => {
if (!router.allowedCpn(msg))
return;

delete msg.threadModule;

cons.route(socket, msg);
} else if (msg.threadModule) {
if (!router.allowedGlobalCall(msg.threadModule, msg.method))
return;

delete msg.cpn;

cons.route(socket, msg);
} else {
if (!router.allowedGlobal(msg))


Loading…
Cancel
Save