lua: s/Feature.Object.ALL/Features.ALL/

It looks nicer to have groups of features in 'Features.'
instead of 'Feature.'
This commit is contained in:
George Kiagiadakis
2021-03-29 18:35:35 +03:00
parent 8052ef2792
commit fd2ddffdd7
3 changed files with 2 additions and 5 deletions

View File

@@ -77,9 +77,6 @@ local Features = {
}
local Feature = {
Object = {
ALL = 0xffffffff,
},
Proxy = {
BOUND = 1,
},

View File

@@ -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)

View File

@@ -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