aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-28 01:13:32 -0800
committerfriendica <info@friendica.com>2015-01-28 01:13:32 -0800
commit6c7269be94c7524cce4d5d14f0b330f36ed6d9a4 (patch)
tree9afebd4bc5305ef3c544f5455bb452961cb8f0f7 /include
parentf1203bb3dd4df3330737c9a0b2be84ebf7c80162 (diff)
downloadvolse-hubzilla-6c7269be94c7524cce4d5d14f0b330f36ed6d9a4.tar.gz
volse-hubzilla-6c7269be94c7524cce4d5d14f0b330f36ed6d9a4.tar.bz2
volse-hubzilla-6c7269be94c7524cce4d5d14f0b330f36ed6d9a4.zip
add yet another firehose check
Diffstat (limited to 'include')
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index f12d1a8a8..33ac16abf 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1537,7 +1537,7 @@ function process_delivery($sender,$arr,$deliveries,$relay,$public = false,$reque
$last_prior_route = '';
}
- if($last_hop == 'undefined' || $sender['hash'] == 'undefined')
+ if(in_array('undefined',$existing_route) || $last_hop == 'undefined' || $sender['hash'] == 'undefined')
$last_hop = '';
$current_route = (($arr['route']) ? $arr['route'] . ',' : '') . $sender['hash'];