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 | 7aa032e7652834c2feac726ed1276c941e1dfb3f (patch) | |
tree | 32080b2051cf595f4b697de1a8bd90fc3b210048 | |
parent | 2d59206551b8daf44888f8c3176e70911845b170 (diff) | |
download | prosody-7aa032e7652834c2feac726ed1276c941e1dfb3f.tar.gz prosody-7aa032e7652834c2feac726ed1276c941e1dfb3f.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); |