mirror of
https://github.com/kepler155c/opus
synced 2025-10-21 18:57:41 +00:00
phase out peripheral.lookup
This commit is contained in:
@@ -11,6 +11,7 @@ local function getProxy(path)
|
||||
break
|
||||
end
|
||||
end
|
||||
return proxy
|
||||
end
|
||||
|
||||
Event.addRoutine(function()
|
||||
@@ -27,6 +28,7 @@ Event.addRoutine(function()
|
||||
|
||||
if not api then
|
||||
print('proxy: invalid API')
|
||||
socket:close()
|
||||
return
|
||||
end
|
||||
|
||||
@@ -52,6 +54,7 @@ Event.addRoutine(function()
|
||||
_G.printError(m)
|
||||
end
|
||||
end
|
||||
socket:close()
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
Reference in New Issue
Block a user