Don't try to use region if it's null for permissions defaults
This commit is contained in:
@@ -271,7 +271,7 @@ void LLFloaterPermsDefault::sendInitialPerms()
|
||||
|
||||
void LLFloaterPermsDefault::updateCap()
|
||||
{
|
||||
std::string object_url = gAgent.getRegion()->getCapability("AgentPreferences");
|
||||
std::string object_url = gAgent.getRegionCapability("AgentPreferences");
|
||||
|
||||
if (!object_url.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user