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:
@@ -77,9 +77,6 @@ local Features = {
|
||||
}
|
||||
|
||||
local Feature = {
|
||||
Object = {
|
||||
ALL = 0xffffffff,
|
||||
},
|
||||
Proxy = {
|
||||
BOUND = 1,
|
||||
},
|
||||
|
@@ -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)
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user