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
|
||||
|
||||
while true do
|
||||
stream = http.post(server.."update.php",head.."&to="..sendTo)
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue