Software /
code /
prosody
Changeset
6533:5da544e97bea
mod_admin_telnet: Use the session-specific print function
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 13 Dec 2014 16:40:55 +0100 |
parents | 6532:a966efeb6cb3 |
children | 6534:b89406fa076c 6544:2f709bc35575 |
files | plugins/mod_admin_telnet.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Thu Dec 11 09:18:39 2014 +0100 +++ b/plugins/mod_admin_telnet.lua Sat Dec 13 16:40:55 2014 +0100 @@ -974,6 +974,7 @@ 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);