aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/zfinger.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php
index 398699b20..74353e8f9 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -83,6 +83,10 @@ function zfinger_init(&$a) {
$profile = array();
if($p) {
+
+ if(! intval($p[0]['publish']))
+ $searchable = false;
+
$profile['description'] = $p[0]['pdesc'];
$profile['birthday'] = $p[0]['dob'];
if($profile['birthday'] != '0000-00-00')