From 4fe5b8878cb70dfafb6d0b9cc332438d72876bcc Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Sat, 10 Sep 2022 01:24:18 -0400 Subject: [PATCH] Revert "eval fix" This reverts commit c2cfb4b81c1c99acab8113cba5bce38e82c9ca82. --- config.js | 6 +++--- src/InternalBot/InternalBot.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.js b/config.js index e0df305..b149a8a 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: true, - enableMPPCloneBot: false + hostDevFiles: false, + enableMPPCloneBot: true }); diff --git a/src/InternalBot/InternalBot.js b/src/InternalBot/InternalBot.js index 2945d1d..21f1290 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.ev(argcat); + cl.server.eval(argcat); break; } });