aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connections.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/connections.php')
-rw-r--r--mod/connections.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/connections.php b/mod/connections.php
index efdf0fd55..1ad9fedbc 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -32,8 +32,8 @@ function connections_init(&$a) {
function connections_aside(&$a) {
-if (! local_user())
- return;
+ if (! local_user())
+ return;
if(x($a->data,'abook')) {
$a->set_widget('vcard',vcard_from_xchan($a->data['abook'],$a->get_observer()));
@@ -175,7 +175,7 @@ function connections_content(&$a) {
if(! local_user()) {
notice( t('Permission denied.') . EOL);
- return;
+ return login();
}
if(argc() == 3) {