Update linkedGet.lua
This commit is contained in:
parent
df1e8dde13
commit
632b8d3566
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 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")
|
||||||
|
|
Loading…
Reference in a new issue