aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_telnet.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 93a4587f..792f4f78 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -81,7 +81,7 @@ function console:new_session(conn)
end
w("| "..table.concat(t, "\t").."\n");
end;
- serialize = serialization.new({ fatal = false, unquoted = true, maxdepth = 2});
+ serialize = tostring;
disconnect = function () conn:close(); end;
};
session.env = setmetatable({}, default_env_mt);
@@ -98,6 +98,8 @@ function console:new_session(conn)
end
end
+ session.env.output:configure();
+
return session;
end