plugArray Fix

This commit is contained in:
karl0ss 2019-07-14 16:12:26 +01:00
parent c58013a83c
commit 7b31d26535

View File

@ -22,9 +22,9 @@ const createArray = str => {
const settings = { const settings = {
LOG_PACKET: true, //Show incoming packet data from the socket LOG_PACKET: true, //Show incoming packet data from the socket
ORVIBO_KEY: process.env.orviboPK, ORVIBO_KEY: process.env.orviboPK,
plugInfo : [ plugInfo :
createArray(process.env.plugArray) createArray(process.env.plugArray)
], ,
}; };
let orvibo = new Orvibo(settings); let orvibo = new Orvibo(settings);
// When a socket first connects and initiates the handshake it will emit the connected event with the uid of the socket; // When a socket first connects and initiates the handshake it will emit the connected event with the uid of the socket;