aboutsummaryrefslogtreecommitdiffstats
path: root/mod/login.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/login.php')
-rw-r--r--mod/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/login.php b/mod/login.php
index 8ad4704a3..12c7d339e 100644
--- a/mod/login.php
+++ b/mod/login.php
@@ -1,7 +1,7 @@
<?php
function login_content(&$a) {
- if(local_user())
+ if(local_channel())
goaway(z_root());
return login(($a->config['system']['register_policy'] == REGISTER_CLOSED) ? false : true);
}