Update sms.lua

This commit is contained in:
Ale32bit 2015-12-30 17:34:25 +01:00
parent 6eea6a5a27
commit 03d772018f

View file

@ -175,7 +175,11 @@ local function recMsg()
end
while true do
if sendTo == "" then
stream = http.post(server.."update.php?new",head)
else
stream = http.post(server.."update.php",head.."&to="..sendTo)
end
newMessages = {}
line = stream.readLine()
repeat