Update sms-new.lua

This commit is contained in:
Ale32bit 2015-09-26 21:35:02 +02:00
parent da5ad81656
commit 546a1350a0

View file

@ -90,7 +90,7 @@ local function readMsg()
local msg = read()
local msg = base64.encode(msg)
term.clear()
if msg == "/logout" then
if base64.decode(msg) == "/logout" then
term.redirect(mainTerm)
return
end