iteration

This commit is contained in:
2023-10-08 01:15:07 -04:00
parent 0f2a13c4e3
commit 14b8fc2cb6

View File

@ -51,10 +51,10 @@ if action == "lookup" then
return return
end end
local id = lns_lookup(hostname) local result = lns_lookup(hostname)
if id ~= nil then if result ~= nil then
io.write(id) io.write(id)
cache[hostname] = id cache[hostname] = result
end end
elseif action == "clear" then elseif action == "clear" then