fix sloppy test for private protection
This commit is contained in:
parent
437b8e169d
commit
2b8ba6ffca
|
@ -152,9 +152,7 @@ public:
|
||||||
.empty;
|
.empty;
|
||||||
|
|
||||||
bool isPrivate;
|
bool isPrivate;
|
||||||
if (_private[$-1] && isPrivateOnce)
|
if (isPrivateOnce)
|
||||||
isPrivate = true;
|
|
||||||
else if (!_private[$-1] && isPrivateOnce)
|
|
||||||
isPrivate = true;
|
isPrivate = true;
|
||||||
else if (_private[$-1] && !changeProtectionOnce)
|
else if (_private[$-1] && !changeProtectionOnce)
|
||||||
isPrivate = true;
|
isPrivate = true;
|
||||||
|
|
Loading…
Reference in New Issue