diff options
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 8 |
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 = ''; |