diff options
author | Jacek Antonelli | 2008-08-15 23:45:16 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:16 -0500 |
commit | 3f27ba891ac4d032753b219b4b96d1ffbc9fb488 (patch) | |
tree | 504932ee91a0356fba7ea48798887c96867e492f /linden/indra/newview/llpaneldirclassified.cpp | |
parent | Second Life viewer sources 1.18.4.3 (diff) | |
download | meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.zip meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.gz meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.bz2 meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.xz |
Second Life viewer sources 1.18.5.0-RC
Diffstat (limited to 'linden/indra/newview/llpaneldirclassified.cpp')
-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 | ||