diff --git a/modules/module-lua-scripting/api.lua b/modules/module-lua-scripting/api.lua index bcaa93a8..952ac1d1 100644 --- a/modules/module-lua-scripting/api.lua +++ b/modules/module-lua-scripting/api.lua @@ -77,9 +77,6 @@ local Features = { } local Feature = { - Object = { - ALL = 0xffffffff, - }, Proxy = { BOUND = 1, }, diff --git a/src/scripts/create-item.lua b/src/scripts/create-item.lua index 0cbfcca4..b9d4b82a 100644 --- a/src/scripts/create-item.lua +++ b/src/scripts/create-item.lua @@ -22,7 +22,7 @@ function addItem (node, item_type) end -- activate item - items[id]:activate (Feature.Object.ALL, function (item) + items[id]:activate (Features.ALL, function (item) Log.info(item, "activated item for node " .. tostring(id)) item:register () end) diff --git a/src/scripts/static-sessions.lua b/src/scripts/static-sessions.lua index 11345c9c..cd1ced8d 100644 --- a/src/scripts/static-sessions.lua +++ b/src/scripts/static-sessions.lua @@ -24,6 +24,6 @@ if sessions_config then ["session.name"] = k }) end - sessions[k]:activate(Feature.Object.ALL) + sessions[k]:activate(Features.ALL) end end