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;