From 6c7269be94c7524cce4d5d14f0b330f36ed6d9a4 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 28 Jan 2015 01:13:32 -0800 Subject: add yet another firehose check --- include/zot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/zot.php') 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']; -- cgit v1.2.3