that would've messed it up
This commit is contained in:
parent
266c701034
commit
6e2695f94a
@ -1104,7 +1104,7 @@ function process_delivery($sender,$arr,$deliveries,$relay) {
|
|||||||
// We've validated the sender. Now make sure that the sender is the owner or author
|
// We've validated the sender. Now make sure that the sender is the owner or author
|
||||||
// This needs to be done in each process_xxxx function because the data arrays and conditions will be different.
|
// This needs to be done in each process_xxxx function because the data arrays and conditions will be different.
|
||||||
|
|
||||||
if($sender['hash'] != $arr['owner_xchan'] && $sender_hash != $arr['author_xchan']) {
|
if($sender['hash'] != $arr['owner_xchan'] && $sender['hash'] != $arr['author_xchan']) {
|
||||||
logger('process_delivery: sender is not owner or author');
|
logger('process_delivery: sender is not owner or author');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user