aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2014-12-16 18:33:54 -0500
committerWaqas Hussain <waqas20@gmail.com>2014-12-16 18:33:54 -0500
commit6db8f941f1437a02b380710df0e22e2a5e76568d (patch)
treedcafd2057d83c1a967fe5381adba1478d7e22001 /plugins/mod_admin_telnet.lua
parentac568342e55017173a1751565ba4ab18f7f0e11e (diff)
parent7aa032e7652834c2feac726ed1276c941e1dfb3f (diff)
downloadprosody-6db8f941f1437a02b380710df0e22e2a5e76568d.tar.gz
prosody-6db8f941f1437a02b380710df0e22e2a5e76568d.zip
Merge 0.10 -> trunk
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-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 9185ac1b..ee8a43dc 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 room in host_session.modules.muc.each_room() do
print(room.jid);