Update linkedGet.lua
This commit is contained in:
parent
2e797f5f75
commit
d1119176dd
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ end
|
||||||
|
|
||||||
while true do
|
while true do
|
||||||
local _, _, from, _, _, message = event.pull("modem_message")
|
local _, _, from, _, _, message = event.pull("modem_message")
|
||||||
local log = "["..os.dateRL("%x %X").."]".." "..getUser(from)..": "..message.."\n"..handleMessage(message)
|
local log = "["..os.dateRL("%x %X").."]".." "..getUser(tostring(from))..": "..message.."\n"..handleMessage(tostring(message))
|
||||||
print(log)
|
print(log)
|
||||||
local f = io.open("logs.txt", "a")
|
local f = io.open("logs.txt", "a")
|
||||||
f:write(log.."\n")
|
f:write(log.."\n")
|
||||||
|
|
Loading…
Reference in a new issue