Update main.js
This commit is contained in:
@@ -340,10 +340,24 @@ function checkObjects(options, regType, regName, regFullName, tasks, newObjects)
|
|||||||
name: 'add',
|
name: 'add',
|
||||||
obj: objects[id]
|
obj: objects[id]
|
||||||
});
|
});
|
||||||
|
|
||||||
newObjects.push(id);
|
newObjects.push(id);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (regs.length) {
|
||||||
|
tasks.push({
|
||||||
|
id: regName,
|
||||||
|
name: 'add',
|
||||||
|
obj: {
|
||||||
|
type: 'channel',
|
||||||
|
common: {
|
||||||
|
name: regFullName
|
||||||
|
},
|
||||||
|
native: {}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function sortByAddress(a, b) {
|
function sortByAddress(a, b) {
|
||||||
|
|||||||
Reference in New Issue
Block a user