pull-hook: prevent from subscribing to ourselves

This commit is contained in:
Liam Fitzgerald 2020-09-02 11:21:14 +10:00
parent 4389c635d1
commit b81153db03

View File

@ -225,6 +225,7 @@
++ add
|= [=ship =resource]
~| resource
?< |(=(our.bowl ship) =(our.bowl entity.resource))
?: (~(has by tracking) resource)
[~ state]
=. tracking