diff --git a/modules/lua/lua_request.c b/modules/lua/lua_request.c index f889c5e591..aad4730ebc 100644 --- a/modules/lua/lua_request.c +++ b/modules/lua/lua_request.c @@ -1499,7 +1499,7 @@ static int lua_ap_exists_config_define(lua_State *L) luaL_checktype(L, 1, LUA_TSTRING); name = lua_tostring(L, 1); returnValue = ap_exists_config_define(name); - lua_pushinteger(L, returnValue); + lua_pushboolean(L, returnValue); return 1; }