Update sms.lua
This commit is contained in:
parent
6eea6a5a27
commit
03d772018f
1 changed files with 5 additions and 1 deletions
|
@ -175,7 +175,11 @@ local function recMsg()
|
||||||
end
|
end
|
||||||
|
|
||||||
while true do
|
while true do
|
||||||
|
if sendTo == "" then
|
||||||
|
stream = http.post(server.."update.php?new",head)
|
||||||
|
else
|
||||||
stream = http.post(server.."update.php",head.."&to="..sendTo)
|
stream = http.post(server.."update.php",head.."&to="..sendTo)
|
||||||
|
end
|
||||||
newMessages = {}
|
newMessages = {}
|
||||||
line = stream.readLine()
|
line = stream.readLine()
|
||||||
repeat
|
repeat
|
||||||
|
|
Loading…
Reference in a new issue