client: add tag_mask attribute
The "tagtypes" command now has several sub commands which can be used to edit that mask.
This commit is contained in:
@@ -196,8 +196,9 @@ PrintUniqueTag(Response &r, TagType tag_type,
|
||||
assert(value != nullptr);
|
||||
tag_print(r, tag_type, value);
|
||||
|
||||
const auto tag_mask = r.GetTagMask();
|
||||
for (const auto &item : tag)
|
||||
if (item.type != tag_type)
|
||||
if (item.type != tag_type && tag_mask.Test(item.type))
|
||||
tag_print(r, item.type, item.value);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user