[FIX] prev commit(забыл добавить ещё одно =) (#287)

This commit is contained in:
Alex Dev Sm 2019-06-17 14:00:06 +03:00 committed by Zaxar163
parent 92c4144697
commit 5231939302

View file

@ -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;