aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorroot <root@diekershoff.homeunix.net>2011-01-21 07:08:02 +0100
committerroot <root@diekershoff.homeunix.net>2011-01-21 07:08:02 +0100
commit21bc6982acc78ca44fc6babf9654c619e8dee0e5 (patch)
treee747ca104e971f97fe287663208c26f5390001a5 /mod/network.php
parent030f6f306cba0f025d124fc7a2912a2bafb291be (diff)
parentc574e4c5879312f57db43436044285de56026f0b (diff)
downloadvolse-hubzilla-21bc6982acc78ca44fc6babf9654c619e8dee0e5.tar.gz
volse-hubzilla-21bc6982acc78ca44fc6babf9654c619e8dee0e5.tar.bz2
volse-hubzilla-21bc6982acc78ca44fc6babf9654c619e8dee0e5.zip
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php
index aa42e2f52..096c8a79f 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -2,6 +2,12 @@
function network_init(&$a) {
+ if(! local_user()) {
+ notice( t('Permission denied.') . EOL);
+ return;
+ }
+
+
require_once('include/group.php');
if(! x($a->page,'aside'))
$a->page['aside'] = '';
@@ -22,7 +28,7 @@ function network_init(&$a) {
function network_content(&$a, $update = 0) {
if(! local_user())
- return '';
+ return login(false);
$o = '';