aboutsummaryrefslogtreecommitdiffstats
path: root/mod/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/home.php')
-rw-r--r--mod/home.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/home.php b/mod/home.php
index 51e95f25b..bd045c3cb 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -8,8 +8,8 @@ function home_init(&$a) {
$channel = $a->get_channel();
- if(local_user() && $channel && $channel['channel_profile'])
- goaway( $channel['channel_profile']);
+ if(local_user() && $channel && $channel['xchan_profile'])
+ goaway( $channel['xchan_profile']);
}}