summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_server.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-04-22 00:34:00 +0200
committerGitHub <noreply@github.com>2017-04-22 00:34:00 +0200
commit113c85a66a5b23c8c47f1bdb435dd4b27884ed54 (patch)
treea882a1c196d0e429de19f52ede2521900d99dbc5 /src/script/lua_api/l_server.h
parentdc0e9097d3144a3dda81039f666ee43ba29cbc36 (diff)
downloadminetest-113c85a66a5b23c8c47f1bdb435dd4b27884ed54.tar.gz
minetest-113c85a66a5b23c8c47f1bdb435dd4b27884ed54.tar.bz2
minetest-113c85a66a5b23c8c47f1bdb435dd4b27884ed54.zip
lua: remove core.cause_error call (#5637)
it was used in minimal to trigger core crash, not very useful
Diffstat (limited to 'src/script/lua_api/l_server.h')
-rw-r--r--src/script/lua_api/l_server.h5
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);
};