From ddfc2c918ca671988677640f7a701bc7b95dfc26 Mon Sep 17 00:00:00 2001 From: Ale32bit Date: Mon, 21 Sep 2015 23:29:37 +0200 Subject: [PATCH] Update sertexID.lua --- src/apis/sertexID.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/apis/sertexID.lua b/src/apis/sertexID.lua index dd5e261..74b50da 100644 --- a/src/apis/sertexID.lua +++ b/src/apis/sertexID.lua @@ -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)