diff options
author | Loren Shih <seraph@lindenlab.com> | 2011-05-26 14:16:56 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2011-05-26 14:16:56 -0400 |
commit | 303a59e7bc8537a63aee42f738fff8a79049c2a2 (patch) | |
tree | 5d0cbd043722fbb3efd94829d4b4a861e2d1ccc6 /indra/newview/llviewerparcelmgr.cpp | |
parent | cb3875fe72b120251c289302b958243e08a24e5b (diff) |
dos2unix fixes for newview files.
Diffstat (limited to 'indra/newview/llviewerparcelmgr.cpp')
-rw-r--r-- | indra/newview/llviewerparcelmgr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llviewerparcelmgr.cpp b/indra/newview/llviewerparcelmgr.cpp index 5ae4e872f3..8db72da1ee 100644 --- a/indra/newview/llviewerparcelmgr.cpp +++ b/indra/newview/llviewerparcelmgr.cpp @@ -2202,9 +2202,9 @@ bool LLViewerParcelMgr::canAgentBuyParcel(LLParcel* parcel, bool forGroup) const = parcelOwner == (forGroup ? gAgent.getGroupID() : gAgent.getID()); bool isAuthorized - = (authorizeBuyer.isNull()
- || (gAgent.getID() == authorizeBuyer)
- || (gAgent.hasPowerInGroup(authorizeBuyer,GP_LAND_DEED)
+ = (authorizeBuyer.isNull() + || (gAgent.getID() == authorizeBuyer) + || (gAgent.hasPowerInGroup(authorizeBuyer,GP_LAND_DEED) && gAgent.hasPowerInGroup(authorizeBuyer,GP_LAND_SET_SALE_INFO))); return isForSale && !isOwner && isAuthorized && isEmpowered; |