fix(net): QUERY_PROTO was not used by sendQuery
This commit is contained in:
parent
97bb32b544
commit
b9144d6847
@ -50,7 +50,7 @@ net.sendQuery = function(hostname, message, timeout)
|
||||
return nil, 'hostname lookup error'
|
||||
end
|
||||
|
||||
local sendOk = rednet.send(serverId, textutils.serialize(message))
|
||||
local sendOk = rednet.send(serverId, textutils.serialize(message), QUERY_PROTO)
|
||||
|
||||
if not sendOk then
|
||||
return nil, 'rednet error'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user