0
0
Fork 0
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:
William Pitcock 2012-02-04 01:58:07 -06:00
parent 5058c8ebce
commit 0582290f21

View file

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