From a45c2d46eafbcff7ff9eb33bc028a4df9d785eb4 Mon Sep 17 00:00:00 2001 From: Ale32bit Date: Sat, 19 Mar 2016 23:31:29 +0100 Subject: [PATCH] Update sID.lua --- src/apps/system/sID.lua | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/apps/system/sID.lua b/src/apps/system/sID.lua index 72a7ab5..9de0dde 100644 --- a/src/apps/system/sID.lua +++ b/src/apps/system/sID.lua @@ -17,20 +17,6 @@ local function clear() term.setCursorPos(1,1) end -local function header() - clear() - local w, h = term.getSize() - paintutils.drawLine(1,1,w,1, colors.red) - term.setTextColor(colors.white) - term.setCursorPos(1,1) - write(" "..sPhone.user) - term.setCursorPos(w,1) - write("X") - term.setCursorPos(1,2) - term.setBackgroundColor(colors.white) - term.setTextColor(colors.black) -end - clear() print("Checking Server...") isDown = http.get("http://sertex.x10.bz/status.php").readAll() @@ -142,4 +128,4 @@ while true do end end -header() +sPhone.header()