Update linkedGet.lua
This commit is contained in:
parent
632b8d3566
commit
ae97bb4276
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,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")
|
||||||
f:write(log.."\n")
|
f:write(log.."\n")
|
||||||
|
|
Loading…
Reference in a new issue