mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
capability: missed one
This commit is contained in:
parent
5058c8ebce
commit
0582290f21
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ capability_index_mask(struct CapabilityIndex *index)
|
|||
|
||||
DICTIONARY_FOREACH(entry, &iter, index->cap_dict)
|
||||
{
|
||||
if (!entry->orphaned)
|
||||
if (!(entry->flags & CAP_ORPHANED))
|
||||
mask |= entry->value;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue