1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-16 00:07:39 +00:00

phase out peripheral.lookup

This commit is contained in:
kepler155c@gmail.com
2019-03-08 16:47:39 -05:00
parent a9d03b06e9
commit 6f7e27827e
3 changed files with 8 additions and 14 deletions

View File

@@ -12,7 +12,7 @@ function Proxy.create(remoteId, uri)
socket.co = coroutine.running()
socket:write(uri)
local methods = socket:read() or error('Timed out')
local methods = socket:read(2) or error('Timed out')
local hijack = { }
for _,method in pairs(methods) do