aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-11-26 22:28:37 +0100
committerKim Alvefur <zash@zash.se>2021-11-26 22:28:37 +0100
commitbdc838bf11c944293b87e1b3e8731554b746f7eb (patch)
tree9060428ef2f51a9b78edf1f0eec6e7e8fdf259da
parentaac203f0d96d2936719cde4ba0d79731a6f485e3 (diff)
downloadprosody-bdc838bf11c944293b87e1b3e8731554b746f7eb.tar.gz
prosody-bdc838bf11c944293b87e1b3e8731554b746f7eb.zip
mod_admin_shell: Fix indentation
It was all of for some reason
-rw-r--r--plugins/mod_admin_shell.lua26
1 files 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)