From 6ada8b6d1714ea2751a64f8b495bb8fed5b2fb7c Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Sat, 10 Sep 2022 01:12:38 -0400 Subject: [PATCH] eval fix --- config.js | 6 +++--- src/InternalBot/InternalBot.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.js b/config.js index b149a8a..e0df305 100644 --- a/config.js +++ b/config.js @@ -1,6 +1,6 @@ module.exports = Object.seal({ port: 8443, - motd: "humongous clement", + // motd: "humongous clement", _id_PrivateKey: process.env.SALT, // defaultLobbyColor: "#19b4b9", @@ -23,6 +23,6 @@ module.exports = Object.seal({ visible: true }, - hostDevFiles: false, - enableMPPCloneBot: true + hostDevFiles: true, + enableMPPCloneBot: false }); diff --git a/src/InternalBot/InternalBot.js b/src/InternalBot/InternalBot.js index 21f1290..2945d1d 100644 --- a/src/InternalBot/InternalBot.js +++ b/src/InternalBot/InternalBot.js @@ -96,7 +96,7 @@ class InternalBot { break; case "eval": if (!isAdmin) return; - cl.server.eval(argcat); + cl.server.ev(argcat); break; } });