diff options
author | Oz Linden <oz@lindenlab.com> | 2011-05-20 17:19:03 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-05-20 17:19:03 -0400 |
commit | ecafe4d8ab7d72a9d5db228e22e4b4a2e592432f (patch) | |
tree | 6d5ea20331ffb14c78b037de08b665dad831281f /indra/newview/llviewerparcelmgr.cpp | |
parent | 708b2974a9847fec822d19297e1ad6a1a84a9017 (diff) |
fix more DOS line endings
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; |