diff options
author | Kim Alvefur <zash@zash.se> | 2014-12-13 16:40:55 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-12-13 16:40:55 +0100 |
commit | 72b502bed309c90247cf578caf86791ad251b949 (patch) | |
tree | 32080b2051cf595f4b697de1a8bd90fc3b210048 | |
parent | 655e1cde09f9ffb942f698b3869b1616ef11d70c (diff) | |
download | prosody-72b502bed309c90247cf578caf86791ad251b949.tar.gz prosody-72b502bed309c90247cf578caf86791ad251b949.zip |
mod_admin_telnet: Use the session-specific print function
-rw-r--r-- | plugins/mod_admin_telnet.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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); |