diff options
Diffstat (limited to 'mod/locs.php')
-rw-r--r-- | mod/locs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/locs.php b/mod/locs.php index d936ef5e4..3f8bd9029 100644 --- a/mod/locs.php +++ b/mod/locs.php @@ -3,7 +3,7 @@ function locs_post(&$a) { - if(! local_user()) + if(! local_channel()) return; $channel = $a->get_channel(); @@ -69,7 +69,7 @@ function locs_post(&$a) { function locs_content(&$a) { - if(! local_user()) { + if(! local_channel()) { notice( t('Permission denied.') . EOL); return; } |