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 bd045c3cb..f70ff1d02 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['xchan_profile'])
- goaway( $channel['xchan_profile']);
+ if(local_user() && $channel && $channel['xchan_url'])
+ goaway( $channel['xchan_url']);
}}