Update linkedGet.lua

This commit is contained in:
erius0 2021-01-08 04:46:09 +03:00 committed by GitHub
parent df1e8dde13
commit 632b8d3566
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 answer = handleMessage(tostring(message) local answer = handleMessage(tostring(message))
local log = "["..os.dateRL("%x %X").."] "..getUser(tostring(from))..": "..message.."\n".."["..os.dateRL("%x %X").."] "..answer) local log = "["..os.dateRL("%x %X").."] "..getUser(tostring(from))..": "..message.."\n".."["..os.dateRL("%x %X").."] "..answer)
print(log) print(log)
local f = io.open("logs.txt", "a") local f = io.open("logs.txt", "a")