forked from Hri7566/mpp-server-dev2
eval fix
This commit is contained in:
parent
5c9f2421c3
commit
6ada8b6d17
|
@ -1,6 +1,6 @@
|
||||||
module.exports = Object.seal({
|
module.exports = Object.seal({
|
||||||
port: 8443,
|
port: 8443,
|
||||||
motd: "humongous clement",
|
// motd: "humongous clement",
|
||||||
_id_PrivateKey: process.env.SALT,
|
_id_PrivateKey: process.env.SALT,
|
||||||
|
|
||||||
// defaultLobbyColor: "#19b4b9",
|
// defaultLobbyColor: "#19b4b9",
|
||||||
|
@ -23,6 +23,6 @@ module.exports = Object.seal({
|
||||||
visible: true
|
visible: true
|
||||||
},
|
},
|
||||||
|
|
||||||
hostDevFiles: false,
|
hostDevFiles: true,
|
||||||
enableMPPCloneBot: true
|
enableMPPCloneBot: false
|
||||||
});
|
});
|
||||||
|
|
|
@ -96,7 +96,7 @@ class InternalBot {
|
||||||
break;
|
break;
|
||||||
case "eval":
|
case "eval":
|
||||||
if (!isAdmin) return;
|
if (!isAdmin) return;
|
||||||
cl.server.eval(argcat);
|
cl.server.ev(argcat);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue