aboutsummaryrefslogtreecommitdiffstats
path: root/mod/authtest.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/authtest.php')
-rw-r--r--mod/authtest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/authtest.php b/mod/authtest.php
index b6d940db2..6ef6c22ad 100644
--- a/mod/authtest.php
+++ b/mod/authtest.php
@@ -9,7 +9,7 @@ function authtest_content(&$a) {
$auth_success = false;
$o .= '<h3>Magic-Auth Diagnostic</h3>';
- if(! local_user()) {
+ if(! local_channel()) {
notice( t('Permission denied.') . EOL);
return $o;
}