Update sertexID.lua

This commit is contained in:
Ale32bit 2015-09-21 23:29:37 +02:00
parent d37cdd029c
commit ddfc2c918c

View file

@ -42,7 +42,12 @@ function checkUser(username)
end
function sendSMS(username, password, to, msg)
local send = http.post(SERVER.."send.php","user="..username.."&password="..password.."&to="..to.."&message="..message).readAll()
if send = "true" then
return true
else
return false,send
end
end
function updateSMS(username, password, all, from)