mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-12 03:00:30 +00:00
Recomment out a global
It's actually rather worrying this was exposed, you could cause some serious issues with it.
This commit is contained in:
parent
8abcfcb4ac
commit
f450c0156b
@ -148,7 +148,7 @@ public class CobaltLuaMachine implements ILuaMachine
|
||||
LibFunction.bind( state, m_globals, PrefixLoader.class, new String[] { "load", "loadstring" } );
|
||||
|
||||
// Remove globals we don't want to expose
|
||||
// m_globals.rawset( "collectgarbage", Constants.NIL );
|
||||
m_globals.rawset( "collectgarbage", Constants.NIL );
|
||||
m_globals.rawset( "dofile", Constants.NIL );
|
||||
m_globals.rawset( "loadfile", Constants.NIL );
|
||||
m_globals.rawset( "print", Constants.NIL );
|
||||
|
Loading…
Reference in New Issue
Block a user