Let's allow the allowed people

This commit is contained in:
Olof Larsson 2013-04-29 10:26:15 +02:00
parent 66b4eb4b92
commit 1d951fb5cf
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ public class CmdFactionsAccessFaction extends CmdFactionsAccessAbstract
if (newValue == null) return;
// FPerm
if (FPerm.ACCESS.has(usender, hostFaction, true)) return;
if (!FPerm.ACCESS.has(usender, hostFaction, true)) return;
// Apply
ta = ta.withFactionId(faction.getId(), newValue);

View File

@ -31,7 +31,7 @@ public class CmdFactionsAccessPlayer extends CmdFactionsAccessAbstract
if (newValue == null) return;
// FPerm
if (FPerm.ACCESS.has(usender, hostFaction, true)) return;
if (!FPerm.ACCESS.has(usender, hostFaction, true)) return;
// Apply
ta = ta.withPlayerId(uplayer.getId(), newValue);