Skip to content

scripts: access-portal: Fix incorrect bitmask checking for media roles

In Lua, 0 is a truthy value, which means not 0 is false. Compare the resulting value from bitwise AND with 0 instead of checking it with if not to ensure correctness.

Merge request reports

Loading