mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 20:02:51 +03:00
rejects automatic %peer /sole from lib/drum
This commit is contained in:
parent
36be16e8b3
commit
284e831925
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user