iteration
This commit is contained in:
parent
56a425172a
commit
e24d7f7a23
@ -38,7 +38,7 @@ load_data()
|
||||
|
||||
while true do
|
||||
client_id, msg = rednet.receive()
|
||||
request = textutils.unserialize(msg)
|
||||
request = msg
|
||||
|
||||
if request.action == nil or request.hostname == nil then
|
||||
rednet.send(client_id, "invalid request")
|
||||
|
@ -24,7 +24,7 @@ data = {
|
||||
["hostname"] = hostname
|
||||
}
|
||||
|
||||
rednet.send(receiverID, textutils.serialize(data))
|
||||
rednet.send(receiverID, data)
|
||||
|
||||
while true do
|
||||
id, msg = rednet.receive()
|
||||
|
Loading…
Reference in New Issue
Block a user