{"version":"2.1.267","anchor":"bug-fix-variable-mismatch-in-remote-control-policy-check","canonical_anchor":"bug-fix-variable-mismatch-in-remote-control-policy-check","heading":"Bug fix: variable mismatch in remote-control policy check","tier":"notice","area":"Remote Control","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267\/e\/bug-fix-variable-mismatch-in-remote-control-policy-check","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267","markdown":"### Bug fix: variable mismatch in remote-control policy check\n\nBug fix: remote-control permission check was reading the wrong variable\n\n**What**\n\nThe check for the `allow_remote_control` policy was rewritten as a switch statement over the correct, properly-scoped variable, replacing a reference to a different, apparently mistakenly-named variable that looks like it was a leftover typo or scoping bug.\n\n**Why**\n\nThis fixes a bug that could have caused the remote-control permission check to evaluate against the wrong value, potentially misjudging whether remote control should be allowed.\n\n- Area: Remote Control\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}