From bdc838bf11c944293b87e1b3e8731554b746f7eb Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 26 Nov 2021 22:28:37 +0100 Subject: mod_admin_shell: Fix indentation It was all of for some reason --- plugins/mod_admin_shell.lua | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua index 123b5aa7..2cdea60d 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -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) -- cgit v1.2.3