diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpaneldirclassified.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llpaneldirclassified.cpp b/linden/indra/newview/llpaneldirclassified.cpp index 50bdfda..f3d464c 100644 --- a/linden/indra/newview/llpaneldirclassified.cpp +++ b/linden/indra/newview/llpaneldirclassified.cpp | |||
@@ -79,7 +79,7 @@ BOOL LLPanelDirClassified::postBuild() | |||
79 | LLPanelDirBrowser::postBuild(); | 79 | LLPanelDirBrowser::postBuild(); |
80 | 80 | ||
81 | // Teens don't get mature checkbox | 81 | // Teens don't get mature checkbox |
82 | if (gAgent.mAccess < SIM_ACCESS_MATURE) | 82 | if (gAgent.isTeen()) |
83 | { | 83 | { |
84 | childSetValue("incmature", FALSE); | 84 | childSetValue("incmature", FALSE); |
85 | childHide("incmature"); | 85 | childHide("incmature"); |
@@ -174,7 +174,7 @@ void LLPanelDirClassified::performQuery() | |||
174 | BOOL filter_mature = !childGetValue("incmature").asBoolean(); | 174 | BOOL filter_mature = !childGetValue("incmature").asBoolean(); |
175 | BOOL filter_auto_renew = FALSE; | 175 | BOOL filter_auto_renew = FALSE; |
176 | U32 query_flags = pack_classified_flags(filter_mature, filter_auto_renew); | 176 | U32 query_flags = pack_classified_flags(filter_mature, filter_auto_renew); |
177 | //if (gAgent.mAccess <= SIM_ACCESS_PG) query_flags |= DFQ_PG_SIMS_ONLY; | 177 | //if (gAgent.isTeen()) query_flags |= DFQ_PG_SIMS_ONLY; |
178 | 178 | ||
179 | U32 category = childGetValue("Category").asInteger(); | 179 | U32 category = childGetValue("Category").asInteger(); |
180 | 180 | ||