aboutsummaryrefslogtreecommitdiffstats
path: root/mod/regmod.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/regmod.php')
-rw-r--r--mod/regmod.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/regmod.php b/mod/regmod.php
index d75355d5f..bdb794347 100644
--- a/mod/regmod.php
+++ b/mod/regmod.php
@@ -7,7 +7,7 @@ function regmod_content(&$a) {
$_SESSION['return_url'] = $a->cmd;
- if(! local_user()) {
+ if(! local_channel()) {
info( t('Please login.') . EOL);
$o .= '<br /><br />' . login(($a->config['system']['register_policy'] == REGISTER_CLOSED) ? 0 : 1);
return $o;