summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterland.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2017-09-13 16:31:48 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2017-09-13 16:31:48 +0300
commit9ee708707e5b28b8149d5f9fad6246b4e1a90cb0 (patch)
tree827262651b86435066ad484b1bb24f20f45e88e2 /indra/newview/llfloaterland.cpp
parent56f53cd9f5319ac0c3b45bd18a998bb10df928a3 (diff)
MAINT-7794 Wrap getCapability(..) calls to avoid crashes
Diffstat (limited to 'indra/newview/llfloaterland.cpp')
-rw-r--r--indra/newview/llfloaterland.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterland.cpp b/indra/newview/llfloaterland.cpp
index 695b321751..88b3fb7b96 100644
--- a/indra/newview/llfloaterland.cpp
+++ b/indra/newview/llfloaterland.cpp
@@ -503,7 +503,7 @@ BOOL LLPanelLandGeneral::postBuild()
// note: on region change this will not be re checked, should not matter on Agni as
// 99% of the time all regions will return the same caps. In case of an erroneous setting
// to enabled the floater will just throw an error when trying to get it's cap
- std::string url = gAgent.getRegion()->getCapability("LandResources");
+ std::string url = gAgent.getRegionCapability("LandResources");
if (!url.empty())
{
if(mBtnScriptLimits)