mod_admin_shell: Fix indentation

It was all of for some reason
This commit is contained in:
Kim Alvefur 2021-11-26 22:28:37 +01:00
parent aac203f0d9
commit bdc838bf11

View file

@ -89,19 +89,19 @@ end
function console:new_session(admin_session)
local session = {
send = function (t)
return send_repl_output(admin_session, t);
end;
print = function (...)
local t = {};
for i=1,select("#", ...) do
t[i] = tostring(select(i, ...));
end
return send_repl_output(admin_session, table.concat(t, "\t"));
end;
serialize = tostring;
disconnect = function () admin_session:close(); end;
};
send = function (t)
return send_repl_output(admin_session, t);
end;
print = function (...)
local t = {};
for i=1,select("#", ...) do
t[i] = tostring(select(i, ...));
end
return send_repl_output(admin_session, table.concat(t, "\t"));
end;
serialize = tostring;
disconnect = function () admin_session:close(); end;
};
session.env = setmetatable({}, default_env_mt);
session.thread = async.runner(function (line)