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, 1 insertions, 2 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php
index 75abfefe4..4f59c1973 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -182,9 +182,8 @@ function zfinger_init(&$a) {
$permissions = get_all_perms($e['channel_id'],$ztarget_hash,false);
- $permissions['connected'] = false;
-
if($ztarget_hash) {
+ $permissions['connected'] = false;
$b = q("select * from abook where abook_xchan = '%s' and abook_channel = %d limit 1",
dbesc($ztarget_hash),
intval($e['channel_id'])