aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zfinger.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/zfinger.php')
-rw-r--r--mod/zfinger.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php
index ddfa37761..d79025885 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -101,10 +101,11 @@ function zfinger_init(&$a) {
$special_channel = (($e['channel_pageflags'] & PAGE_PREMIUM) ? true : false);
$adult_channel = (($e['channel_pageflags'] & PAGE_ADULT) ? true : false);
+ $censored = (($e['channel_pageflags'] & PAGE_CENSORED) ? true : false);
$searchable = (($e['channel_pageflags'] & PAGE_HIDDEN) ? false : true);
$deleted = (($e['xchan_flags'] & XCHAN_FLAGS_DELETED) ? true : false);
- if(($e['xchan_flags'] & XCHAN_FLAGS_HIDDEN) || $deleted)
+ if(($e['xchan_flags'] & XCHAN_FLAGS_HIDDEN) || $deleted || $censored)
$searchable = false;
// This is for birthdays and keywords, but must check access permissions