aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php
index 0e01b4a0d..12eeb47ac 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -1154,6 +1154,9 @@ function is_member($s) {
function get_online_status($nick) {
+ if(get_config('system','block_public') && ! local_user() && ! remote_user())
+ return;
+
$ret = array('result' => false);
$r = q("select channel_id, channel_hash from channel where channel_address = '%s' limit 1",