aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-12-13 16:40:55 +0100
committerKim Alvefur <zash@zash.se>2014-12-13 16:40:55 +0100
commit7aa032e7652834c2feac726ed1276c941e1dfb3f (patch)
tree32080b2051cf595f4b697de1a8bd90fc3b210048
parent2d59206551b8daf44888f8c3176e70911845b170 (diff)
downloadprosody-7aa032e7652834c2feac726ed1276c941e1dfb3f.tar.gz
prosody-7aa032e7652834c2feac726ed1276c941e1dfb3f.zip
mod_admin_telnet: Use the session-specific print function
-rw-r--r--plugins/mod_admin_telnet.lua1
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);