mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
unset debug.getinfo
This commit is contained in:
parent
a2f98b1879
commit
5a422ca0c6
7 changed files with 22 additions and 10 deletions
|
@ -311,7 +311,7 @@ void ScriptApiSecurity::initializeSecurityClient()
|
|||
"time"
|
||||
};
|
||||
static const char *debug_whitelist[] = {
|
||||
"getinfo", // used by builtin and unset before mods load
|
||||
"getinfo", // used by builtin and unset before mods load <- FIXME: doesn't actually happen
|
||||
"traceback"
|
||||
};
|
||||
|
||||
|
@ -417,7 +417,7 @@ void ScriptApiSecurity::initializeSecuritySSCSM()
|
|||
"time"
|
||||
};
|
||||
static const char *debug_whitelist[] = {
|
||||
"getinfo", // used by builtin and unset before mods load //TODO
|
||||
"getinfo", // used by client builtin and unset before mods load
|
||||
"traceback"
|
||||
};
|
||||
static const char *string_whitelist[] = { // all but string.dump
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue