diff --git a/Docs/Luadoc/Lua.xml b/Docs/Luadoc/Lua.xml index b7ec9faae6..80bb6b880a 100644 --- a/Docs/Luadoc/Lua.xml +++ b/Docs/Luadoc/Lua.xml @@ -271,7 +271,6 @@ - diff --git a/Docs/Luadoc/LuaDocumentation.xml b/Docs/Luadoc/LuaDocumentation.xml index e54a10d000..bd725e1eea 100644 --- a/Docs/Luadoc/LuaDocumentation.xml +++ b/Docs/Luadoc/LuaDocumentation.xml @@ -580,10 +580,6 @@ save yourself some time, copy this for undocumented things: Sends the current style to the server. - - Loads the specified module.
- require is a core function of Lua's basic library; see the Lua manual for more details. -
[02 Utilities.lua] Round a number. diff --git a/src/LuaManager.cpp b/src/LuaManager.cpp index 691aa7ef57..803e6aea0c 100644 --- a/src/LuaManager.cpp +++ b/src/LuaManager.cpp @@ -263,13 +263,6 @@ LuaManager::LuaManager() lua_pushcfunction( L, luaopen_string ); lua_call( L, 0, 0 ); lua_pushcfunction( L, luaopen_table ); lua_call( L, 0, 0 ); lua_pushcfunction( L, luaopen_debug ); lua_call( L, 0, 0 ); - lua_pushcfunction( L, luaopen_package ); lua_call( L, 0, 0 ); // this one seems safe -shake - // these two can be dangerous. don't use them - // (unless you know what you are doing). -aj -#if 0 - lua_pushcfunction( L, luaopen_io ); lua_call( L, 0, 0 ); - lua_pushcfunction( L, luaopen_os ); lua_call( L, 0, 0 ); -#endif // Store the thread pool in a table on the stack, in the main thread. #define THREAD_POOL 1