Update sms-new.lua

This commit is contained in:
Ale32bit 2015-09-26 21:31:15 +02:00
parent 7a831b0359
commit 642915a2fc

View file

@ -88,6 +88,7 @@ local function readMsg()
term.setCursorPos(1,1) term.setCursorPos(1,1)
term.write("Send: ") term.write("Send: ")
local msg = read() local msg = read()
local msg = base64.encode(msg)
term.clear() term.clear()
if msg == "/logout" then if msg == "/logout" then
term.redirect(mainTerm) term.redirect(mainTerm)