MoNTE48
399f707877
Fix builtin formatting
2019-08-02 17:47:34 +02:00
red-001
8fe57bcf35
[CSM] Improve security for client-sided mods ( #5100 )
2017-03-13 23:56:05 +01:00
HybridDog
516b701076
Only allow strings to be passed to minetest.global_exists ( #4253 )
...
Sometimes you accidentally forget the quotes when using global_exists, this makes minetest abort if you did so.
M builtin/common/strict.lua
2016-06-28 06:34:22 +02:00
ShadowNinja
677ab7463d
Refactor logging
...
- Add warning log level
- Change debug_log_level setting to enumeration string
- Map Irrlicht log events to MT log events
- Encapsulate log_* functions and global variables into a class, Logger
- Unify dstream with standard logging mechanism
- Unify core.debug() with standard core.log() script API
2015-10-14 01:03:54 -04:00
ShadowNinja
126ded5c24
Add minetest.global_exists()
2015-04-21 22:58:37 +02:00
rubenwardy
2fe827939e
Change assignment to global in a function to warning
2015-02-04 14:57:06 -05:00
ShadowNinja
cc2855e59b
Make duplicate warning checks file and line specific
2014-11-23 16:34:49 -05:00
sapier
6a043635dc
Fix console spaming by debug function on mod checking for global variable to exist.
2014-11-23 15:24:37 +01:00
ShadowNinja
4b3c14a9d2
Add strict module
...
Also fix leaking globals found by it.
2014-11-19 12:40:54 -05:00