Update sms-new.lua

This commit is contained in:
Ale2610 2015-09-20 15:19:41 +02:00
parent 3528130991
commit a0d00b55f9

View file

@ -137,7 +137,7 @@ local function recMsg()
end end
printMsg("Type /logout to exit") printMsg("Type /logout to exit")
while true do while true do
stream = http.post(server.."update.php",head) stream = http.post(server.."update-new.php",head)
if stream then if stream then
local newMessages = textutils.unserialize(stream.readAll()) local newMessages = textutils.unserialize(stream.readAll())
stream.close() stream.close()