mirror of
https://github.com/kepler155c/opus
synced 2025-10-20 18:27:40 +00:00
proxy + pathfinding optimization
This commit is contained in:
@@ -24,9 +24,10 @@ Event.addRoutine(function()
|
||||
while true do
|
||||
local data = socket:read()
|
||||
if not data then
|
||||
print('proxy: lost connection from ' .. socket.dhost)
|
||||
break
|
||||
end
|
||||
socket:write({ proxy[data.fn](unpack(data.args)) })
|
||||
socket:write({ proxy[data.fn](table.unpack(data.args)) })
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
Reference in New Issue
Block a user