mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
Fix new compilation breakage in mod_lua.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1800830 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -265,13 +265,13 @@ void ap_lua_load_config_lmodule(lua_State *L)
|
||||
lua_pushvalue(L, -1);
|
||||
|
||||
lua_setfield(L, -2, "__index");
|
||||
luaL_setfuncs(L, cfg_methods); /* [metatable] */
|
||||
luaL_setfuncs_compat(L, cfg_methods); /* [metatable] */
|
||||
|
||||
|
||||
luaL_newmetatable(L, "Apache2.CommandParameters");
|
||||
lua_pushvalue(L, -1);
|
||||
|
||||
lua_setfield(L, -2, "__index");
|
||||
luaL_setfuncs(L, cmd_methods); /* [metatable] */
|
||||
luaL_setfuncs_compat(L, cmd_methods); /* [metatable] */
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user