diff options
-rw-r--r-- | mod/connections.php | 6 | ||||
-rw-r--r-- | mod/message.php | 2 | ||||
-rw-r--r-- | mod/settings.php | 2 |
3 files changed, 5 insertions, 5 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) { diff --git a/mod/message.php b/mod/message.php index bd2545ea5..a4d73e6b0 100644 --- a/mod/message.php +++ b/mod/message.php @@ -205,7 +205,7 @@ function message_content(&$a) { if(! local_user()) { notice( t('Permission denied.') . EOL); - return; + return login(); } $channel = $a->get_channel(); diff --git a/mod/settings.php b/mod/settings.php index ab3ac4f12..4e122607b 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -625,7 +625,7 @@ function settings_content(&$a) { if(! local_user()) { notice( t('Permission denied.') . EOL ); - return; + return login(); } |