Update linkedGet.lua

This commit is contained in:
erius0 2021-01-08 04:28:16 +03:00 committed by GitHub
parent 2e797f5f75
commit d1119176dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ end
while true do
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)
local f = io.open("logs.txt", "a")
f:write(log.."\n")