custom-module: strict clientId detect
This commit is contained in:
parent
92f321381d
commit
7e66b67f9a
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class OscServer {
|
|||
}
|
||||
var lastArg = args[args.length - 1],
|
||||
options = {}
|
||||
if (typeof lastArg === 'object' && lastArg !== null && lastArg.type === undefined) {
|
||||
if (typeof lastArg === 'object' && lastArg !== null && lastArg.clientId !== undefined) {
|
||||
options = args.pop()
|
||||
}
|
||||
this.receiveOsc({host, port, address, args:args.map(x=>this.parseArg(x))}, options.clientId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue