rejects automatic %peer /sole from lib/drum

This commit is contained in:
Joe Bryan 2019-06-01 11:17:02 -07:00
parent 36be16e8b3
commit 284e831925

View File

@ -48,7 +48,11 @@
%- create-tapp-poke-peer
|_ [=bowl:gall state=state-type]
++ handle-poke ~(handle-poke handler bowl state)
++ handle-peer |=(* (async-fail:async-lib %no-peer-handler >path< ~))
++ handle-peer
|= *
~| %default-tapp-no-sole
?< ?=([%sole *] +<)
(async-fail:async-lib %no-peer-handler >path< ~)
--
::
:: The form of a tapp that only handles pokes and peers