From 52319393026be5233350467be4df7290af0c2927 Mon Sep 17 00:00:00 2001 From: Alex Dev Sm Date: Mon, 17 Jun 2019 14:00:06 +0300 Subject: [PATCH] =?UTF-8?q?[FIX]=20prev=20commit(=D0=B7=D0=B0=D0=B1=D1=8B?= =?UTF-8?q?=D0=BB=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82=D1=8C=20?= =?UTF-8?q?=D0=B5=D1=89=D1=91=20=D0=BE=D0=B4=D0=BD=D0=BE=20=3D)=20(#287)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Launcher/runtime/dialog/scenes/options/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Launcher/runtime/dialog/scenes/options/options.js b/Launcher/runtime/dialog/scenes/options/options.js index b235e862..112c8c9c 100644 --- a/Launcher/runtime/dialog/scenes/options/options.js +++ b/Launcher/runtime/dialog/scenes/options/options.js @@ -100,7 +100,7 @@ var options = { return; } - if(modFile.permissions != 0 && ((loginData.permissions.toLong() & modFile.permissions) = 0)) + if(modFile.permissions != 0 && ((loginData.permissions.toLong() & modFile.permissions) == 0)) { LogHelper.debug("optionalMod %s permissions deny",modFile.name); return;