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