summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreference.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-06-04 11:16:32 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-06-04 11:16:32 +0100
commit66d367cb0dfa1b6745a91d770053087e807d5aa9 (patch)
tree0a86eeccb9d130ccac6cb63169300ad2b5ba601b /indra/newview/llfloaterpreference.cpp
parent697e7a3b0c6a6a014bbf4eebc801f15c0af0a235 (diff)
parentbe7554c3b624427ccf8543fb0a3187a2d9f7090b (diff)
merge from viewer-public
Diffstat (limited to 'indra/newview/llfloaterpreference.cpp')
-rw-r--r--indra/newview/llfloaterpreference.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index 5556c2caf5..a8da0c8b16 100644
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -501,7 +501,7 @@ void LLFloaterPreference::onOpen(const LLSD& key)
if (can_choose_maturity)
{
// if they're not adult or a god, they shouldn't see the adult selection, so delete it
- if (!gAgent.isAdult() && !gAgent.isGodlike())
+ if (!gAgent.isAdult() && !gAgent.isGodlikeWithoutAdminMenuFakery())
{
// we're going to remove the adult entry from the combo
LLScrollListCtrl* maturity_list = maturity_combo->findChild<LLScrollListCtrl>("ComboBox");