diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-04-22 00:34:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-22 00:34:00 +0200 |
commit | 113c85a66a5b23c8c47f1bdb435dd4b27884ed54 (patch) | |
tree | a882a1c196d0e429de19f52ede2521900d99dbc5 /src/script/lua_api/l_server.h | |
parent | dc0e9097d3144a3dda81039f666ee43ba29cbc36 (diff) | |
download | hax-minetest-server-113c85a66a5b23c8c47f1bdb435dd4b27884ed54.tar.gz hax-minetest-server-113c85a66a5b23c8c47f1bdb435dd4b27884ed54.zip |
lua: remove core.cause_error call (#5637)
it was used in minimal to trigger core crash, not very useful
Diffstat (limited to '')
-rw-r--r-- | src/script/lua_api/l_server.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/script/lua_api/l_server.h b/src/script/lua_api/l_server.h index ca5e7b80f..008810784 100644 --- a/src/script/lua_api/l_server.h +++ b/src/script/lua_api/l_server.h @@ -101,11 +101,6 @@ private: // set_last_run_mod(modname) static int l_set_last_run_mod(lua_State *L); -#ifndef NDEBUG - // cause_error(type_of_error) - static int l_cause_error(lua_State *L); -#endif - public: static void Initialize(lua_State *L, int top); }; |