diff options
Diffstat (limited to 'mod/connections.php')
-rw-r--r-- | mod/connections.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/connections.php b/mod/connections.php index bcb78f138..1ad9fedbc 100644 --- a/mod/connections.php +++ b/mod/connections.php @@ -32,6 +32,9 @@ function connections_init(&$a) { function connections_aside(&$a) { + if (! local_user()) + return; + if(x($a->data,'abook')) { $a->set_widget('vcard',vcard_from_xchan($a->data['abook'],$a->get_observer())); } @@ -172,7 +175,7 @@ function connections_content(&$a) { if(! local_user()) { notice( t('Permission denied.') . EOL); - return; + return login(); } if(argc() == 3) { |