aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 5f1106be5..4e122607b 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -22,6 +22,8 @@ function settings_init(&$a) {
function settings_aside(&$a) {
+if (! local_user())
+ return;
// default is channel settings in the absence of other arguments
@@ -623,7 +625,7 @@ function settings_content(&$a) {
if(! local_user()) {
notice( t('Permission denied.') . EOL );
- return;
+ return login();
}