From e605ccfeccc2ddfb1a990be96e3a8ac92bc4e79e Mon Sep 17 00:00:00 2001 From: Victor Tabary Date: Thu, 27 Jun 2024 11:13:27 +0200 Subject: [PATCH] ibbiubjutfvukbslkgdbiul --- src/luajit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/luajit.c b/src/luajit.c index c0b69449..5f8dc6f8 100644 --- a/src/luajit.c +++ b/src/luajit.c @@ -506,8 +506,7 @@ static struct Smain { const char *lua_init_script = "local clear = require(\"clear_globals\")\n" - "-- clear.printAllGlobals()\n" - "clear.clearAllGlobals()\n"; + "clear.clearAllGlobals()\n"; int call_c_function(lua_State *L); @@ -569,6 +568,7 @@ static int pmain(lua_State *L) if (lua_stdin_is_tty()) { print_version(); print_jit_status(L); + printf("\nYou are in a Lua sandbox. You can use the following variables:\n\e[31mprint\e[0m, \e[32mstring\e[0m, \e[33mtable\e[0m, \e[34mtonumber\e[0m, \e[35mtostring\e[0m, \e[36mtype\e[0m\n\n"); dotty(L); } else { dofile(L, NULL); /* Executes stdin as a file. */