From 7aa032e7652834c2feac726ed1276c941e1dfb3f Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 13 Dec 2014 16:40:55 +0100 Subject: mod_admin_telnet: Use the session-specific print function --- plugins/mod_admin_telnet.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 660fb33b..0fe6d2ad 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -974,6 +974,7 @@ function def_env.muc:list(host) if not host_session or not host_session.modules.muc then return nil, "Please supply the address of a local MUC component"; end + local print = self.session.print; local c = 0; for name in keys(host_session.modules.muc.rooms) do print(name); -- cgit v1.2.3