diff --git a/lib/lns.lua b/lib/lns.lua index 307d40c..2f702d7 100644 --- a/lib/lns.lua +++ b/lib/lns.lua @@ -56,7 +56,8 @@ function lookup(remote_hostname) ["hostname"] = remote_hostname } - rednet.send(server(), data, "lns") + local lns_server_id = server() + rednet.send(lns_server_id, data, "lns") while true do id, msg = rednet.receive("lns") diff --git a/lum.lua b/lum.lua index f27ea40..f16d4fe 100644 --- a/lum.lua +++ b/lum.lua @@ -21,7 +21,7 @@ elseif action == "remove" then lum.remove(package) io.write("Done!\n") elseif action == "version" then - print("Lum version 0.1.0") + print("0.1.0") else io.write("Usage: lum \n") end \ No newline at end of file