aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_admin_telnet.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index a27f6d5c..d25a576a 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -330,6 +330,11 @@ end
--luacheck: ignore 212/self
+def_env.output = {};
+function def_env.output:configure(opts)
+ self.session.serialize = serialization.new(opts);
+end
+
def_env.server = {};
function def_env.server:insane_reload()