From 5bfa7c3a7c8ef2b001c7a4a4ae95f535362a0c2d Mon Sep 17 00:00:00 2001 From: Ale32bit Date: Sun, 1 Nov 2015 18:53:25 +0100 Subject: [PATCH] Update sms.lua --- src/apps/sms.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/apps/sms.lua b/src/apps/sms.lua index 5bd1cbb..ae6dc1b 100644 --- a/src/apps/sms.lua +++ b/src/apps/sms.lua @@ -161,8 +161,10 @@ local function recMsg() y = y + 2 end end - end - printMsg("Type /logout to exit") +end + if not getAllSMS then + printMsg("Type /logout to exit") + end while true do stream = http.post(server.."update.php",head) newMessages = {}